summaryrefslogtreecommitdiff
path: root/src/gui/quitdialog.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/quitdialog.cpp
parent8f52bfee633b4aa2f7e49c1e16428d8f1c03fcfc (diff)
downloadplus-35d4ce0ed75b2575067007a85d5c211d292ebada.tar.gz
plus-35d4ce0ed75b2575067007a85d5c211d292ebada.tar.bz2
plus-35d4ce0ed75b2575067007a85d5c211d292ebada.tar.xz
plus-35d4ce0ed75b2575067007a85d5c211d292ebada.zip
Rename SoundManager sigleton from sound to soundManager.
Diffstat (limited to 'src/gui/quitdialog.cpp')
-rw-r--r--src/gui/quitdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/quitdialog.cpp b/src/gui/quitdialog.cpp
index 3bf63c9a1..76937b936 100644
--- a/src/gui/quitdialog.cpp
+++ b/src/gui/quitdialog.cpp
@@ -114,7 +114,7 @@ QuitDialog::QuitDialog(QuitDialog **const pointerToMe):
reflowLayout(200, 0);
setLocationRelativeTo(getParent());
setVisible(true);
- sound.playGuiSound(SOUND_SHOW_WINDOW);
+ soundManager.playGuiSound(SOUND_SHOW_WINDOW);
// enableVisibleSound(true);
requestModalFocus();
mOkButton->requestFocus();
@@ -144,7 +144,7 @@ void QuitDialog::placeOption(ContainerPlacer &placer,
void QuitDialog::action(const gcn::ActionEvent &event)
{
- sound.playGuiSound(SOUND_HIDE_WINDOW);
+ soundManager.playGuiSound(SOUND_HIDE_WINDOW);
if (event.getId() == "ok")
{
if (viewport)