Skip to content

Commit

Permalink
Remove curly braces
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobo1 committed Apr 30, 2017
1 parent a1cad86 commit 893ce32
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 893ce32

Please sign in to comment.