summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat/gmtab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-14 19:40:40 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-14 19:40:40 +0300
commit2a9042761c823c112b6c86af16fb03eef05ce110 (patch)
tree44b90aa4de41209044f66ba613df3055c2286748 /src/gui/widgets/tabs/chat/gmtab.cpp
parent0b861120e4496f64c8014c7f7b3d0a8938cc7d51 (diff)
downloadmanaverse-2a9042761c823c112b6c86af16fb03eef05ce110.tar.gz
manaverse-2a9042761c823c112b6c86af16fb03eef05ce110.tar.bz2
manaverse-2a9042761c823c112b6c86af16fb03eef05ce110.tar.xz
manaverse-2a9042761c823c112b6c86af16fb03eef05ce110.zip
Use GM_CHANNEL constant for gm channel name.
Diffstat (limited to 'src/gui/widgets/tabs/chat/gmtab.cpp')
-rw-r--r--src/gui/widgets/tabs/chat/gmtab.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/widgets/tabs/chat/gmtab.cpp b/src/gui/widgets/tabs/chat/gmtab.cpp
index a6bca72ed..4db496e76 100644
--- a/src/gui/widgets/tabs/chat/gmtab.cpp
+++ b/src/gui/widgets/tabs/chat/gmtab.cpp
@@ -20,10 +20,11 @@
#include "gui/widgets/tabs/chat/gmtab.h"
-#include "gui/windows/chatwindow.h"
-
+#include "gui/chatconsts.h"
#include "net/chathandler.h"
+#include "gui/windows/chatwindow.h"
+
#include "utils/gettext.h"
#include "debug.h"
@@ -32,7 +33,7 @@ GmTab *gmChatTab = nullptr;
GmTab::GmTab(const Widget2 *const widget) :
// TRANSLATORS: gb tab name
- ChatTab(widget, _("GM"), "", "#gm", ChatTabType::GM)
+ ChatTab(widget, _("GM"), GM_CHANNEL, "#GM", ChatTabType::GM)
{
setTabColors(Theme::GM_CHAT_TAB);
}