summaryrefslogtreecommitdiff
path: root/src/net/ea/gui/partytab.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/net/ea/gui/partytab.cpp
parentd4f7f4f688c3660440e0ac0d752ec9db036cdf59 (diff)
downloadmanaplus-ecd8811f15034a6c895a81c0153a4b154dbc1061.tar.gz
manaplus-ecd8811f15034a6c895a81c0153a4b154dbc1061.tar.bz2
manaplus-ecd8811f15034a6c895a81c0153a4b154dbc1061.tar.xz
manaplus-ecd8811f15034a6c895a81c0153a4b154dbc1061.zip
Improve chattab class.
Diffstat (limited to 'src/net/ea/gui/partytab.cpp')
-rw-r--r--src/net/ea/gui/partytab.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp
index 5b3184038..78105d3ad 100644
--- a/src/net/ea/gui/partytab.cpp
+++ b/src/net/ea/gui/partytab.cpp
@@ -274,13 +274,13 @@ void PartyTab::getAutoCompleteList(StringVect &names) const
p->getNames(names);
}
-void PartyTab::saveToLogFile(std::string &msg)
+void PartyTab::saveToLogFile(const std::string &msg)
{
if (chatLogger)
chatLogger->log("#Party", msg);
}
-void PartyTab::playNewMessageSound()
+void PartyTab::playNewMessageSound() const
{
soundManager.playGuiSound(SOUND_GUILD);
}