mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 13:23:34 -07:00
Merge pull request #8321 from luis-pereira/remove-duplicate-set-app-name
Don't set application name twice
This commit is contained in:
commit
12d97475da
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue