Merge pull request #8321 from luis-pereira/remove-duplicate-set-app-name

Don't set application name twice
This commit is contained in:
sledgehammer999 2018-01-25 21:41:46 +02:00 committed by GitHub
commit 12d97475da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,6 @@ Application::Application(const QString &id, int &argc, char **argv)
if (m_commandLineArgs.webUiPort > 0) // it will be -1 when user did not set any value
Preferences::instance()->setWebUiPort(m_commandLineArgs.webUiPort);
setApplicationName("qBittorrent");
initializeTranslation();
#if !defined(DISABLE_GUI)