summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat/guildtab.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/guildtab.cpp
parent1d689e6492993a66935c7b36ff9827f6c170e166 (diff)
downloadplus-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/guildtab.cpp')
-rw-r--r--src/gui/widgets/tabs/chat/guildtab.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/widgets/tabs/chat/guildtab.cpp b/src/gui/widgets/tabs/chat/guildtab.cpp
index 8074bd304..97f0f348d 100644
--- a/src/gui/widgets/tabs/chat/guildtab.cpp
+++ b/src/gui/widgets/tabs/chat/guildtab.cpp
@@ -43,7 +43,7 @@ namespace Ea
GuildTab::GuildTab(const Widget2 *const widget) :
// TRANSLATORS: guild chat tab name
- ChatTab(widget, _("Guild"), "", ChatTabType::GUILD)
+ ChatTab(widget, _("Guild"), "", "#Guild", ChatTabType::GUILD)
{
setTabColors(Theme::GUILD_CHAT_TAB);
mShowOnline = config.getBoolValue("showGuildOnline");
@@ -120,12 +120,6 @@ void GuildTab::getAutoCompleteCommands(StringVect &names) const
names.push_back("/leave");
}
-void GuildTab::saveToLogFile(const std::string &msg) const
-{
- if (chatLogger)
- chatLogger->log("#Guild", msg);
-}
-
void GuildTab::playNewMessageSound() const
{
soundManager.playGuiSound(SOUND_GUILD);