summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windowmanager_unittest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc
index 5a7410594..c5e09911f 100644
--- a/src/gui/windowmanager_unittest.cc
+++ b/src/gui/windowmanager_unittest.cc
@@ -330,7 +330,8 @@ TEST_CASE("Windows tests", "windowmanager")
}
SECTION("ChatWindow")
{
- CREATEWIDGETV0(chatWindow, ChatWindow);
+ CREATEWIDGETV(chatWindow, ChatWindow,
+ "Chat");
gui->draw();
mainGraphics->updateScreen();
delete2(chatWindow);
@@ -596,7 +597,7 @@ TEST_CASE("Windows tests", "windowmanager")
SECTION("serversInfoWindow")
{
ServerInfo mCurrentServer;
- ServerInfoWindow *serverInfoWindow = CREATEWIDGETR(ServerInfoWindow,
+ CREATEWIDGETV(serverInfoWindow, ServerInfoWindow,
mCurrentServer);
gui->draw();
mainGraphics->updateScreen();