diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-12 15:21:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-12 15:21:51 +0300 |
commit | 2b6198dc9c4a52094bad3b39dbfb06c168a55ca2 (patch) | |
tree | ec5e1ca6e69e81e05ade883bfe644deb6d19c1ef /src/game.cpp | |
parent | 6cbd617a811b85f7685266907b129180134620b8 (diff) | |
download | manaplus-2b6198dc9c4a52094bad3b39dbfb06c168a55ca2.tar.gz manaplus-2b6198dc9c4a52094bad3b39dbfb06c168a55ca2.tar.bz2 manaplus-2b6198dc9c4a52094bad3b39dbfb06c168a55ca2.tar.xz manaplus-2b6198dc9c4a52094bad3b39dbfb06c168a55ca2.zip |
Move chat tab type into ChatTab.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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")) |