diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-31 20:16:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-31 20:16:39 +0300 |
commit | 35d4ce0ed75b2575067007a85d5c211d292ebada (patch) | |
tree | e5749655db88531768635586e52508cefdfd8a5a /src/gui/widgets/window.cpp | |
parent | 8f52bfee633b4aa2f7e49c1e16428d8f1c03fcfc (diff) | |
download | ManaVerse-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/window.cpp')
-rw-r--r-- | src/gui/widgets/window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index 54ed4764f..63c5b6629 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -578,7 +578,7 @@ void Window::setVisible(bool visible, bool forceSticky) if (visible) { if (mPlayVisibleSound) - sound.playGuiSound(SOUND_SHOW_WINDOW); + soundManager.playGuiSound(SOUND_SHOW_WINDOW); if (gui) { gcn::MouseEvent *event = reinterpret_cast<gcn::MouseEvent*>( @@ -599,7 +599,7 @@ void Window::setVisible(bool visible, bool forceSticky) else { if (mPlayVisibleSound) - sound.playGuiSound(SOUND_HIDE_WINDOW); + soundManager.playGuiSound(SOUND_HIDE_WINDOW); } } |