diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-31 00:55:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-31 00:55:36 +0300 |
commit | ecd8811f15034a6c895a81c0153a4b154dbc1061 (patch) | |
tree | c451e027766b6e455033eca468e383de95a81fb0 /src/gui/widgets/guildchattab.cpp | |
parent | d4f7f4f688c3660440e0ac0d752ec9db036cdf59 (diff) | |
download | manaplus-ecd8811f15034a6c895a81c0153a4b154dbc1061.tar.gz manaplus-ecd8811f15034a6c895a81c0153a4b154dbc1061.tar.bz2 manaplus-ecd8811f15034a6c895a81c0153a4b154dbc1061.tar.xz manaplus-ecd8811f15034a6c895a81c0153a4b154dbc1061.zip |
Improve chattab class.
Diffstat (limited to 'src/gui/widgets/guildchattab.cpp')
-rw-r--r-- | src/gui/widgets/guildchattab.cpp | 4 |
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); } |