summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-12 15:21:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-12 15:21:51 +0300
commit2b6198dc9c4a52094bad3b39dbfb06c168a55ca2 (patch)
treeec5e1ca6e69e81e05ade883bfe644deb6d19c1ef /src/game.cpp
parent6cbd617a811b85f7685266907b129180134620b8 (diff)
downloadmv-2b6198dc9c4a52094bad3b39dbfb06c168a55ca2.tar.gz
mv-2b6198dc9c4a52094bad3b39dbfb06c168a55ca2.tar.bz2
mv-2b6198dc9c4a52094bad3b39dbfb06c168a55ca2.tar.xz
mv-2b6198dc9c4a52094bad3b39dbfb06c168a55ca2.zip
Move chat tab type into ChatTab.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp5
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"))