equal
deleted
inserted
replaced
34 void QPushButtonWithSound::buttonClicked() |
34 void QPushButtonWithSound::buttonClicked() |
35 { |
35 { |
36 if ( !isSoundEnabled || !HWForm::config->isFrontendSoundEnabled()) |
36 if ( !isSoundEnabled || !HWForm::config->isFrontendSoundEnabled()) |
37 return; |
37 return; |
38 |
38 |
39 DataManager & dataMgr = DataManager::instance(); |
|
40 |
|
41 if (this->isEnabled()) |
39 if (this->isEnabled()) |
42 SDLInteraction::instance().playSoundFile(dataMgr.findFileForRead("Sounds/roperelease.ogg")); |
40 SDLInteraction::instance().playSoundFile("/Sounds/roperelease.ogg"); |
43 } |
41 } |