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/partytab.cpp | |
parent | 1d689e6492993a66935c7b36ff9827f6c170e166 (diff) | |
download | mv-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.tar.gz mv-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.tar.bz2 mv-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.tar.xz mv-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.zip |
Add log file name into chattab.
Diffstat (limited to 'src/gui/widgets/tabs/chat/partytab.cpp')
-rw-r--r-- | src/gui/widgets/tabs/chat/partytab.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/widgets/tabs/chat/partytab.cpp b/src/gui/widgets/tabs/chat/partytab.cpp index 7d928be17..e34d49014 100644 --- a/src/gui/widgets/tabs/chat/partytab.cpp +++ b/src/gui/widgets/tabs/chat/partytab.cpp @@ -43,7 +43,7 @@ PartyTab *partyTab = nullptr; PartyTab::PartyTab(const Widget2 *const widget) : // TRANSLATORS: party chat tab name - ChatTab(widget, _("Party"), "", ChatTabType::PARTY) + ChatTab(widget, _("Party"), "", "#Party", ChatTabType::PARTY) { setTabColors(Theme::PARTY_CHAT_TAB); mShowOnline = config.getBoolValue("showPartyOnline"); @@ -224,12 +224,6 @@ void PartyTab::getAutoCompleteCommands(StringVect &names) const names.push_back("/setleader "); } -void PartyTab::saveToLogFile(const std::string &msg) const -{ - if (chatLogger) - chatLogger->log("#Party", msg); -} - void PartyTab::playNewMessageSound() const { soundManager.playGuiSound(SOUND_GUILD); |