From 2a9042761c823c112b6c86af16fb03eef05ce110 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 14 Jan 2015 19:40:40 +0300 Subject: Use GM_CHANNEL constant for gm channel name. --- src/gui/widgets/tabs/chat/gmtab.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/tabs/chat/gmtab.cpp') 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); } -- cgit v1.2.3-60-g2f50