Disable copy, move constructors when inheriting from QObject

This commit is contained in:
Chocobo1
2022-05-18 13:43:04 +08:00
parent 7764169aa3
commit c8b4611d8d
32 changed files with 48 additions and 10 deletions

View File

@@ -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;
};