Browse Source

Remove curly braces

adaptive-webui-19844
Chocobo1 8 years ago
parent
commit
893ce32f1d
  1. 3
      src/app/application.cpp

3
src/app/application.cpp

@ -122,9 +122,8 @@ Application::Application(const QString &id, int &argc, char **argv)
SettingsStorage::initInstance(); SettingsStorage::initInstance();
Preferences::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); Preferences::instance()->setWebUiPort(m_commandLineArgs.webUiPort);
}
setApplicationName("qBittorrent"); setApplicationName("qBittorrent");
initializeTranslation(); initializeTranslation();

Loading…
Cancel
Save