1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 15:27:54 +00:00

Don't set application name twice

It's an artifact introduced by commit b3c73b7868.
This commit is contained in:
Luís Pereira 2018-01-25 15:50:55 +00:00
parent 56ccf28000
commit 5154d431f6

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 if (m_commandLineArgs.webUiPort > 0) // it will be -1 when user did not set any value
Preferences::instance()->setWebUiPort(m_commandLineArgs.webUiPort); Preferences::instance()->setWebUiPort(m_commandLineArgs.webUiPort);
setApplicationName("qBittorrent");
initializeTranslation(); initializeTranslation();
#if !defined(DISABLE_GUI) #if !defined(DISABLE_GUI)