mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Don't set application name twice
It's an artifact introduced by commit b3c73b7868.
This commit is contained in:
committed by
sledgehammer999
parent
409f972ad3
commit
397cd4bf60
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user