summaryrefslogtreecommitdiff
path: root/src/gui/windows/quitdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-17 02:42:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-17 02:42:24 +0300
commitad233d01f2c63dab29a0301209196dfd97856130 (patch)
tree5afb423c4fa8b7e0fff90d5f2e80a8663d8f38e8 /src/gui/windows/quitdialog.cpp
parent477e52027f123fef9cc21cd1a66617913b8e1d47 (diff)
downloadplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.gz
plus-ad233d01f2c63dab29a0301209196dfd97856130.tar.bz2
plus-ad233d01f2c63dab29a0301209196dfd97856130.tar.xz
plus-ad233d01f2c63dab29a0301209196dfd97856130.zip
Fix compilation without C++11 again.
Diffstat (limited to 'src/gui/windows/quitdialog.cpp')
-rw-r--r--src/gui/windows/quitdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/quitdialog.cpp b/src/gui/windows/quitdialog.cpp
index 1f876e731..1d6290152 100644
--- a/src/gui/windows/quitdialog.cpp
+++ b/src/gui/windows/quitdialog.cpp
@@ -72,7 +72,7 @@ QuitDialog::QuitDialog(QuitDialog **const pointerToMe) :
addKeyListener(this);
ContainerPlacer placer = getPlacer(0, 0);
- const State state = client->getState();
+ const StateT state = client->getState();
mNeedForceQuit = (state == State::CHOOSE_SERVER
|| state == State::CONNECT_SERVER || state == State::LOGIN
|| state == State::PRE_LOGIN || state == State::LOGIN_ATTEMPT