|
|
|
@ -566,9 +566,7 @@ int Application::exec(const QStringList ¶ms)
@@ -566,9 +566,7 @@ int Application::exec(const QStringList ¶ms)
|
|
|
|
|
connect(BitTorrent::Session::instance(), &BitTorrent::Session::torrentFinished, this, &Application::torrentFinished); |
|
|
|
|
connect(BitTorrent::Session::instance(), &BitTorrent::Session::allTorrentsFinished, this, &Application::allTorrentsFinished, Qt::QueuedConnection); |
|
|
|
|
|
|
|
|
|
#ifndef DISABLE_COUNTRIES_RESOLUTION |
|
|
|
|
Net::GeoIPManager::initInstance(); |
|
|
|
|
#endif |
|
|
|
|
ScanFoldersModel::initInstance(); |
|
|
|
|
|
|
|
|
|
#ifndef DISABLE_WEBUI |
|
|
|
@ -760,9 +758,7 @@ void Application::cleanup()
@@ -760,9 +758,7 @@ void Application::cleanup()
|
|
|
|
|
|
|
|
|
|
ScanFoldersModel::freeInstance(); |
|
|
|
|
BitTorrent::Session::freeInstance(); |
|
|
|
|
#ifndef DISABLE_COUNTRIES_RESOLUTION |
|
|
|
|
Net::GeoIPManager::freeInstance(); |
|
|
|
|
#endif |
|
|
|
|
Net::DownloadManager::freeInstance(); |
|
|
|
|
Net::ProxyConfigurationManager::freeInstance(); |
|
|
|
|
Preferences::freeInstance(); |
|
|
|
|