mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Fix singleton class ownership
We shouldn't allow Qt parent ownership in here.
This commit is contained in:
@@ -65,7 +65,7 @@ public:
|
||||
CUSTOM_LOCATION
|
||||
};
|
||||
|
||||
static bool initInstance(QObject *parent = nullptr);
|
||||
static void initInstance();
|
||||
static void freeInstance();
|
||||
static ScanFoldersModel *instance();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user