equal
deleted
inserted
replaced
31 connect(this, SIGNAL(clicked()), this, SLOT(buttonClicked())); |
31 connect(this, SIGNAL(clicked()), this, SLOT(buttonClicked())); |
32 } |
32 } |
33 |
33 |
34 void QPushButtonWithSound::buttonClicked() |
34 void QPushButtonWithSound::buttonClicked() |
35 { |
35 { |
36 if ( !isSoundEnabled || !HWForm::config->isFrontendSoundEnabled()) |
36 if ( !isSoundEnabled ) |
37 return; |
37 return; |
38 |
38 |
39 if (this->isEnabled()) |
39 if (this->isEnabled()) |
40 SDLInteraction::instance().playSoundFile("/Sounds/roperelease.ogg"); |
40 SDLInteraction::instance().playSoundFile("/Sounds/roperelease.ogg"); |
41 } |
41 } |