summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-31 20:16:39 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-31 20:16:39 +0300
commit35d4ce0ed75b2575067007a85d5c211d292ebada (patch)
treee5749655db88531768635586e52508cefdfd8a5a /src/gui/widgets/chattab.cpp
parent8f52bfee633b4aa2f7e49c1e16428d8f1c03fcfc (diff)
downloadmanaverse-35d4ce0ed75b2575067007a85d5c211d292ebada.tar.gz
manaverse-35d4ce0ed75b2575067007a85d5c211d292ebada.tar.bz2
manaverse-35d4ce0ed75b2575067007a85d5c211d292ebada.tar.xz
manaverse-35d4ce0ed75b2575067007a85d5c211d292ebada.zip
Rename SoundManager sigleton from sound to soundManager.
Diffstat (limited to 'src/gui/widgets/chattab.cpp')
-rw-r--r--src/gui/widgets/chattab.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp
index f219bb661..31ae6a84b 100644
--- a/src/gui/widgets/chattab.cpp
+++ b/src/gui/widgets/chattab.cpp
@@ -289,7 +289,7 @@ void ChatTab::chatLog(std::string line, Own own,
if (chatWindow && chatWindow->findHighlight(tmp.text))
{
setFlash(2);
- sound.playGuiSound(SOUND_HIGHLIGHT);
+ soundManager.playGuiSound(SOUND_HIGHLIGHT);
}
else
{
@@ -299,7 +299,7 @@ void ChatTab::chatLog(std::string line, Own own,
else if (getFlash() == 2)
{
if (chatWindow && chatWindow->findHighlight(tmp.text))
- sound.playGuiSound(SOUND_HIGHLIGHT);
+ soundManager.playGuiSound(SOUND_HIGHLIGHT);
}
}
@@ -312,7 +312,7 @@ void ChatTab::chatLog(std::string line, Own own,
{
if (chatWindow)
chatWindow->unHideWindow();
- sound.playGuiSound(SOUND_GLOBAL);
+ soundManager.playGuiSound(SOUND_GLOBAL);
}
else if (own != BY_SERVER)
{
@@ -510,7 +510,7 @@ void ChatTab::addNewRow(std::string &line)
void ChatTab::playNewMessageSound()
{
- sound.playGuiSound(SOUND_WHISPER);
+ soundManager.playGuiSound(SOUND_WHISPER);
}
void ChatTab::showOnline(const std::string &nick,