Browse Source

Don't set application name twice

It's an artifact introduced by commit b3c73b7868.
adaptive-webui-19844
Luís Pereira 7 years ago
parent
commit
5154d431f6
  1. 1
      src/app/application.cpp

1
src/app/application.cpp

@ -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…
Cancel
Save