summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat/tradetab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/chat/tradetab.cpp')
-rw-r--r--src/gui/widgets/tabs/chat/tradetab.cpp8
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));
-}