mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-08 16:42:30 -06:00
Disable copy, move constructors when inheriting from QObject
This commit is contained in:
@@ -47,6 +47,7 @@ namespace Private
|
||||
class FileSystemPathValidator final : public QValidator
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY_MOVE(FileSystemPathValidator)
|
||||
|
||||
public:
|
||||
FileSystemPathValidator(QObject *parent = nullptr);
|
||||
@@ -147,6 +148,7 @@ namespace Private
|
||||
class FileComboEdit final : public QComboBox, public FileEditorWithCompletion
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY_MOVE(FileComboEdit)
|
||||
|
||||
public:
|
||||
FileComboEdit(QWidget *parent = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user