diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-12 16:21:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-12 16:21:11 +0300 |
commit | 2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9 (patch) | |
tree | 95eabbcc64c3420f3b40110ee84e21bebf9bd557 /src/gui/widgets/tabs/chat/tradetab.cpp | |
parent | 1d689e6492993a66935c7b36ff9827f6c170e166 (diff) | |
download | plus-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.tar.gz plus-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.tar.bz2 plus-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.tar.xz plus-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.zip |
Add log file name into chattab.
Diffstat (limited to 'src/gui/widgets/tabs/chat/tradetab.cpp')
-rw-r--r-- | src/gui/widgets/tabs/chat/tradetab.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/widgets/tabs/chat/tradetab.cpp b/src/gui/widgets/tabs/chat/tradetab.cpp index 7812a86b8..a4906a815 100644 --- a/src/gui/widgets/tabs/chat/tradetab.cpp +++ b/src/gui/widgets/tabs/chat/tradetab.cpp @@ -34,7 +34,7 @@ TradeTab *tradeChatTab = nullptr; TradeTab::TradeTab(const Widget2 *const widget) : // TRANSLATORS: trade chat tab name - ChatTab(widget, _("Trade"), TRADE_CHANNEL, ChatTabType::TRADE) + ChatTab(widget, _("Trade"), TRADE_CHANNEL, "#Trade", ChatTabType::TRADE) { } @@ -47,9 +47,3 @@ void TradeTab::handleInput(const std::string &msg) std::string str("\302\202" + msg); ChatTab::handleInput(str); } - -void TradeTab::saveToLogFile(const std::string &msg) const -{ - if (chatLogger) - chatLogger->log(std::string("#Trade"), std::string(msg)); -} |