From 2b6198dc9c4a52094bad3b39dbfb06c168a55ca2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 12 Oct 2014 15:21:51 +0300 Subject: Move chat tab type into ChatTab. --- src/game.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 36dddf659..57bed1baf 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -231,7 +231,8 @@ static void createGuiWindows() questsWindow = new QuestsWindow; // TRANSLATORS: chat tab header - localChatTab = new ChatTab(chatWindow, _("General"), GENERAL_CHANNEL); + localChatTab = new ChatTab(chatWindow, _("General"), + GENERAL_CHANNEL, ChatTabType::INPUT); localChatTab->setAllowHighlight(false); if (config.getBoolValue("showChatHistory")) localChatTab->loadFromLogFile("#General"); @@ -248,7 +249,7 @@ static void createGuiWindows() } // TRANSLATORS: chat tab header - debugChatTab = new ChatTab(chatWindow, _("Debug"), ""); + debugChatTab = new ChatTab(chatWindow, _("Debug"), "", ChatTabType::DEBUG); debugChatTab->setAllowHighlight(false); if (config.getBoolValue("enableTradeTab")) -- cgit v1.2.3-70-g09d2