Fix singleton class ownership

We shouldn't allow Qt parent ownership in here.
This commit is contained in:
Chocobo1
2020-02-07 15:19:23 +08:00
committed by sledgehammer999
parent 0cd4900e92
commit 2289bf4005
3 changed files with 5 additions and 9 deletions

View File

@@ -550,7 +550,7 @@ int Application::exec(const QStringList &params)
#ifndef DISABLE_COUNTRIES_RESOLUTION
Net::GeoIPManager::initInstance();
#endif
ScanFoldersModel::initInstance(this);
ScanFoldersModel::initInstance();
#ifndef DISABLE_WEBUI
m_webui = new WebUI;