From 3284121323fffd025c2f3aa958e2121e8b7f8d12 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Nov 2015 03:34:41 +0300 Subject: Fix unit tests compilation. --- src/gui/windowmanager_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windowmanager_unittest.cc') 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); } -- cgit v1.2.3-60-g2f50