diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-22 13:43:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-22 13:45:50 +0300 |
commit | 0384e13f0faf26e4b2716c3a16d2518bb23fba42 (patch) | |
tree | 96cf8a9b745995fa39580b7cbc93012013dd4085 /src/gui/widgets | |
parent | 392b20563409d8f56fb9940c622a195f0ee0f7c7 (diff) | |
download | plus-0384e13f0faf26e4b2716c3a16d2518bb23fba42.tar.gz plus-0384e13f0faf26e4b2716c3a16d2518bb23fba42.tar.bz2 plus-0384e13f0faf26e4b2716c3a16d2518bb23fba42.tar.xz plus-0384e13f0faf26e4b2716c3a16d2518bb23fba42.zip |
Show channel messages in language tab.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/chattab.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/langtab.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/chattab.h b/src/gui/widgets/chattab.h index e85dac74a..7105f3fc4 100644 --- a/src/gui/widgets/chattab.h +++ b/src/gui/widgets/chattab.h @@ -176,7 +176,7 @@ class ChatTab : public Tab virtual void playNewMessageSound(); - std::string getChannelName() + const std::string &getChannelName() const { return mChannelName; } protected: diff --git a/src/gui/widgets/langtab.cpp b/src/gui/widgets/langtab.cpp index edef9e178..f9ae12ebd 100644 --- a/src/gui/widgets/langtab.cpp +++ b/src/gui/widgets/langtab.cpp @@ -27,7 +27,7 @@ #include "debug.h" LangTab::LangTab(const Widget2 *const widget, const std::string &lang) : - ChatTab(widget, _("Lang"), " " + lang) + ChatTab(widget, _("Lang"), lang + " ") { } |