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:
committed by
sledgehammer999
parent
0cd4900e92
commit
2289bf4005
@@ -550,7 +550,7 @@ int Application::exec(const QStringList ¶ms)
|
||||
#ifndef DISABLE_COUNTRIES_RESOLUTION
|
||||
Net::GeoIPManager::initInstance();
|
||||
#endif
|
||||
ScanFoldersModel::initInstance(this);
|
||||
ScanFoldersModel::initInstance();
|
||||
|
||||
#ifndef DISABLE_WEBUI
|
||||
m_webui = new WebUI;
|
||||
|
||||
Reference in New Issue
Block a user