mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-04 14:42:29 -06:00
Disable copy, move constructors when inheriting from QObject
This commit is contained in:
@@ -53,6 +53,8 @@ struct IsQFlags<QFlags<T>> : std::true_type {};
|
||||
class SettingsStorage final : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY_MOVE(SettingsStorage)
|
||||
|
||||
SettingsStorage();
|
||||
~SettingsStorage();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user