diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-14 19:40:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-14 19:40:40 +0300 |
commit | 2a9042761c823c112b6c86af16fb03eef05ce110 (patch) | |
tree | 44b90aa4de41209044f66ba613df3055c2286748 /src/gui/widgets | |
parent | 0b861120e4496f64c8014c7f7b3d0a8938cc7d51 (diff) | |
download | plus-2a9042761c823c112b6c86af16fb03eef05ce110.tar.gz plus-2a9042761c823c112b6c86af16fb03eef05ce110.tar.bz2 plus-2a9042761c823c112b6c86af16fb03eef05ce110.tar.xz plus-2a9042761c823c112b6c86af16fb03eef05ce110.zip |
Use GM_CHANNEL constant for gm channel name.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/tabs/chat/gmtab.cpp | 7 |
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); } |