summaryrefslogtreecommitdiff
path: root/src/gui/widgets/guildchattab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-31 00:55:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-31 00:55:36 +0300
commitecd8811f15034a6c895a81c0153a4b154dbc1061 (patch)
treec451e027766b6e455033eca468e383de95a81fb0 /src/gui/widgets/guildchattab.cpp
parentd4f7f4f688c3660440e0ac0d752ec9db036cdf59 (diff)
downloadplus-ecd8811f15034a6c895a81c0153a4b154dbc1061.tar.gz
plus-ecd8811f15034a6c895a81c0153a4b154dbc1061.tar.bz2
plus-ecd8811f15034a6c895a81c0153a4b154dbc1061.tar.xz
plus-ecd8811f15034a6c895a81c0153a4b154dbc1061.zip
Improve chattab class.
Diffstat (limited to 'src/gui/widgets/guildchattab.cpp')
-rw-r--r--src/gui/widgets/guildchattab.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/guildchattab.cpp b/src/gui/widgets/guildchattab.cpp
index 0ce3cda1c..dd55b3a39 100644
--- a/src/gui/widgets/guildchattab.cpp
+++ b/src/gui/widgets/guildchattab.cpp
@@ -138,13 +138,13 @@ void GuildChatTab::getAutoCompleteList(StringVect &names) const
names.push_back("/notice ");
}
-void GuildChatTab::saveToLogFile(std::string &msg)
+void GuildChatTab::saveToLogFile(const std::string &msg)
{
if (chatLogger)
chatLogger->log("#Guild", msg);
}
-void GuildChatTab::playNewMessageSound()
+void GuildChatTab::playNewMessageSound() const
{
soundManager.playGuiSound(SOUND_GUILD);
}