summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/guildchattab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 12:46:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 12:46:32 +0300
commit11caa7aeeb3a7b40823da8573576d2354b7504b5 (patch)
treefe34c20ea973e65104747b59675acf6363e7b5d2 /src/gui/widgets/tabs/guildchattab.cpp
parent0c4ed5a9594b849b436fca13c6992dee923915ed (diff)
downloadmanaverse-11caa7aeeb3a7b40823da8573576d2354b7504b5.tar.gz
manaverse-11caa7aeeb3a7b40823da8573576d2354b7504b5.tar.bz2
manaverse-11caa7aeeb3a7b40823da8573576d2354b7504b5.tar.xz
manaverse-11caa7aeeb3a7b40823da8573576d2354b7504b5.zip
Add missing const and static into gui classes.
Diffstat (limited to 'src/gui/widgets/tabs/guildchattab.cpp')
-rw-r--r--src/gui/widgets/tabs/guildchattab.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/widgets/tabs/guildchattab.cpp b/src/gui/widgets/tabs/guildchattab.cpp
index 364b83968..8de95991f 100644
--- a/src/gui/widgets/tabs/guildchattab.cpp
+++ b/src/gui/widgets/tabs/guildchattab.cpp
@@ -107,11 +107,7 @@ void GuildChatTab::handleInput(const std::string &msg)
{
if (!guildManager)
return;
-
- if (chatWindow)
- guildManager->chat(chatWindow->doReplace(msg));
- else
- guildManager->chat(msg);
+ guildManager->chat(ChatWindow::doReplace(msg));
}
void GuildChatTab::showHelp()