diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-12 21:28:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-12 21:28:54 +0300 |
commit | 5c66d91e3e69446081ef6254063ad638fbc48aca (patch) | |
tree | c3bb94057bcd4bdbb8568e815c7f18c44417a78a /src/gui/quitdialog.cpp | |
parent | f6000c9088ee63428f65ee980f6751f85a7e7d7e (diff) | |
download | mv-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.gz mv-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.bz2 mv-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.xz mv-5c66d91e3e69446081ef6254063ad638fbc48aca.zip |
Fix code style.
Diffstat (limited to 'src/gui/quitdialog.cpp')
-rw-r--r-- | src/gui/quitdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/quitdialog.cpp b/src/gui/quitdialog.cpp index b2e3f7d94..51e6cdba7 100644 --- a/src/gui/quitdialog.cpp +++ b/src/gui/quitdialog.cpp @@ -70,10 +70,10 @@ QuitDialog::QuitDialog(QuitDialog **const pointerToMe): const State state = Client::getState(); - mNeedForceQuit = state == STATE_CHOOSE_SERVER + mNeedForceQuit = (state == STATE_CHOOSE_SERVER || state == STATE_CONNECT_SERVER || state == STATE_LOGIN || state == STATE_PRE_LOGIN || state == STATE_LOGIN_ATTEMPT - || state == STATE_UPDATE || state == STATE_LOAD_DATA; + || state == STATE_UPDATE || state == STATE_LOAD_DATA); // All states, when we're not logged in to someone. if (mNeedForceQuit) |