From d59cd9111c1e86b224ea62cc975c49b157e2b3cf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Oct 2012 23:56:04 +0300 Subject: Add to some controls palette inheritance from other controls. --- src/game.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 4aad0eec5..5d988f19f 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -256,16 +256,16 @@ static void createGuiWindows() if (serverVersion >= 6) questsWindow = new QuestsWindow; - localChatTab = new ChatTab(_("General")); + localChatTab = new ChatTab(chatWindow, _("General")); localChatTab->setAllowHighlight(false); localChatTab->loadFromLogFile("#General"); - debugChatTab = new ChatTab(_("Debug")); + debugChatTab = new ChatTab(chatWindow, _("Debug")); debugChatTab->setAllowHighlight(false); if (config.getBoolValue("enableTradeTab")) { - tradeChatTab = new TradeTab; + tradeChatTab = new TradeTab(chatWindow); tradeChatTab->setAllowHighlight(false); } else @@ -275,7 +275,7 @@ static void createGuiWindows() if (config.getBoolValue("enableBattleTab")) { - battleChatTab = new BattleTab; + battleChatTab = new BattleTab(chatWindow); battleChatTab->setAllowHighlight(false); } else @@ -401,7 +401,7 @@ Game::Game(): createGuiWindows(); - windowMenu = new WindowMenu; + windowMenu = new WindowMenu(nullptr); // mWindowMenu = windowMenu; if (windowContainer) -- cgit v1.2.3-70-g09d2