diff options
Diffstat (limited to 'src/gui/widgets/tabs/chat/battletab.cpp')
-rw-r--r-- | src/gui/widgets/tabs/chat/battletab.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/widgets/tabs/chat/battletab.cpp b/src/gui/widgets/tabs/chat/battletab.cpp index 21bbf6430..c9672965f 100644 --- a/src/gui/widgets/tabs/chat/battletab.cpp +++ b/src/gui/widgets/tabs/chat/battletab.cpp @@ -33,7 +33,7 @@ BattleTab *battleChatTab = nullptr; BattleTab::BattleTab(const Widget2 *const widget) : // TRANSLATORS: battle chat tab name - ChatTab(widget, _("Battle"), "", ChatTabType::BATTLE) + ChatTab(widget, _("Battle"), "", "#Battle", ChatTabType::BATTLE) { if (config.getBoolValue("showChatHistory")) loadFromLogFile("#Battle"); @@ -42,9 +42,3 @@ BattleTab::BattleTab(const Widget2 *const widget) : BattleTab::~BattleTab() { } - -void BattleTab::saveToLogFile(const std::string &msg) const -{ - if (chatLogger) - chatLogger->log(std::string("#Battle"), std::string(msg)); -} |