summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-17 03:34:41 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-17 03:34:41 +0300
commit3284121323fffd025c2f3aa958e2121e8b7f8d12 (patch)
tree6f98dd5d3fca38293195ee4e80e3db00001e4534 /src/gui
parent36bf262f9162d5cad1ee6a789effa64c1ac639b4 (diff)
downloadmanaplus-3284121323fffd025c2f3aa958e2121e8b7f8d12.tar.gz
manaplus-3284121323fffd025c2f3aa958e2121e8b7f8d12.tar.bz2
manaplus-3284121323fffd025c2f3aa958e2121e8b7f8d12.tar.xz
manaplus-3284121323fffd025c2f3aa958e2121e8b7f8d12.zip
Fix unit tests compilation.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windowmanager_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc
index d54851514..89fcca928 100644
--- a/src/gui/windowmanager_unittest.cc
+++ b/src/gui/windowmanager_unittest.cc
@@ -143,7 +143,7 @@ TEST_CASE("Windows tests", "windowmanager")
ConnectionDialog *connectionDialog = CREATEWIDGETR(ConnectionDialog,
// TRANSLATORS: connection dialog header
_("Connecting to server"),
- STATE_SWITCH_SERVER);
+ State::SWITCH_SERVER);
delete2(connectionDialog);
}
SECTION("loginDialog")
@@ -160,7 +160,7 @@ TEST_CASE("Windows tests", "windowmanager")
ConnectionDialog *connectionDialog = CREATEWIDGETR(ConnectionDialog,
// TRANSLATORS: connection dialog header
_("Logging in"),
- STATE_SWITCH_SERVER);
+ State::SWITCH_SERVER);
delete2(connectionDialog);
}