summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat/langtab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-12 16:21:11 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-12 16:21:11 +0300
commit2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9 (patch)
tree95eabbcc64c3420f3b40110ee84e21bebf9bd557 /src/gui/widgets/tabs/chat/langtab.cpp
parent1d689e6492993a66935c7b36ff9827f6c170e166 (diff)
downloadmanaplus-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.tar.gz
manaplus-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.tar.bz2
manaplus-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.tar.xz
manaplus-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.zip
Add log file name into chattab.
Diffstat (limited to 'src/gui/widgets/tabs/chat/langtab.cpp')
-rw-r--r--src/gui/widgets/tabs/chat/langtab.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/widgets/tabs/chat/langtab.cpp b/src/gui/widgets/tabs/chat/langtab.cpp
index 57eb68670..554af2782 100644
--- a/src/gui/widgets/tabs/chat/langtab.cpp
+++ b/src/gui/widgets/tabs/chat/langtab.cpp
@@ -31,16 +31,10 @@ LangTab *langChatTab = nullptr;
LangTab::LangTab(const Widget2 *const widget,
const std::string &lang) :
// TRANSLATORS: lang chat tab name
- ChatTab(widget, _("Lang"), lang + " ", ChatTabType::LANG)
+ ChatTab(widget, _("Lang"), lang + " ", "#Lang", ChatTabType::LANG)
{
}
LangTab::~LangTab()
{
}
-
-void LangTab::saveToLogFile(const std::string &msg) const
-{
- if (chatLogger)
- chatLogger->log(std::string("#Lang"), std::string(msg));
-}