mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Disable copy, move constructors when inheriting from QObject
This commit is contained in:
@@ -94,11 +94,6 @@ class Preferences : public QObject
|
||||
|
||||
Preferences();
|
||||
|
||||
static Preferences *m_instance;
|
||||
|
||||
signals:
|
||||
void changed();
|
||||
|
||||
public:
|
||||
static void initInstance();
|
||||
static void freeInstance();
|
||||
@@ -414,4 +409,10 @@ public slots:
|
||||
void setTrackerFilterState(bool checked);
|
||||
|
||||
void apply();
|
||||
|
||||
signals:
|
||||
void changed();
|
||||
|
||||
private:
|
||||
static Preferences *m_instance;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user