mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Disable copy, move constructors when inheriting from QObject
This commit is contained in:
@@ -16,6 +16,7 @@ class QToolButton;
|
||||
class LineEdit final : public QLineEdit
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY_MOVE(LineEdit)
|
||||
|
||||
public:
|
||||
LineEdit(QWidget *parent);
|
||||
|
||||
Reference in New Issue
Block a user