mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Fix singleton class ownership
We shouldn't allow Qt parent ownership in here.
This commit is contained in:
parent
fa43dab3a2
commit
a6cdba17f0
3 changed files with 5 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue