summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-22 13:43:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-22 13:45:50 +0300
commit0384e13f0faf26e4b2716c3a16d2518bb23fba42 (patch)
tree96cf8a9b745995fa39580b7cbc93012013dd4085 /src/gui/widgets
parent392b20563409d8f56fb9940c622a195f0ee0f7c7 (diff)
downloadplus-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.h2
-rw-r--r--src/gui/widgets/langtab.cpp2
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 + " ")
{
}