From 11811d5292ade273e296243f18477cd03228efc7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 3 Jul 2017 03:08:11 +0300 Subject: Fix unit tests compilation. --- src/gui/windowmanager_unittest.cc | 5 +++-- 1 file 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(); -- cgit v1.2.3-70-g09d2