diff --git a/src/app/application.cpp b/src/app/application.cpp index 3a3acabdc..4dc8b61dd 100644 --- a/src/app/application.cpp +++ b/src/app/application.cpp @@ -122,9 +122,8 @@ Application::Application(const QString &id, int &argc, char **argv) SettingsStorage::initInstance(); Preferences::initInstance(); - 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); - } setApplicationName("qBittorrent"); initializeTranslation();