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/okdialog.cpp | |
parent | 8f52bfee633b4aa2f7e49c1e16428d8f1c03fcfc (diff) | |
download | plus-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/okdialog.cpp')
-rw-r--r-- | src/gui/okdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/okdialog.cpp b/src/gui/okdialog.cpp index ae0c4ca4a..243805538 100644 --- a/src/gui/okdialog.cpp +++ b/src/gui/okdialog.cpp @@ -77,9 +77,9 @@ OkDialog::OkDialog(const std::string &title, const std::string &msg, okButton->requestFocus(); if (soundEvent == DIALOG_OK) - sound.playGuiSound(SOUND_INFO); + soundManager.playGuiSound(SOUND_INFO); else if (soundEvent == DIALOG_ERROR) - sound.playGuiSound(SOUND_ERROR); + soundManager.playGuiSound(SOUND_ERROR); } void OkDialog::action(const gcn::ActionEvent &event) |