summaryrefslogtreecommitdiff
path: root/src/gui/quitdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-12 21:28:54 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-12 21:28:54 +0300
commit5c66d91e3e69446081ef6254063ad638fbc48aca (patch)
treec3bb94057bcd4bdbb8568e815c7f18c44417a78a /src/gui/quitdialog.cpp
parentf6000c9088ee63428f65ee980f6751f85a7e7d7e (diff)
downloadmanaplus-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.gz
manaplus-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.bz2
manaplus-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.xz
manaplus-5c66d91e3e69446081ef6254063ad638fbc48aca.zip
Fix code style.
Diffstat (limited to 'src/gui/quitdialog.cpp')
-rw-r--r--src/gui/quitdialog.cpp4
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)