QTfrontend/ui/mouseoverfilter.cpp
changeset 8326 023a71940f26
parent 8049 133e22b5c410
child 8729 b19be476a2fa
equal deleted inserted replaced
8325:ecd51650d5d8 8326:023a71940f26
    37         QLineEdit * textfield = dynamic_cast<QLineEdit*>(dist);
    37         QLineEdit * textfield = dynamic_cast<QLineEdit*>(dist);
    38         QCheckBox * checkbox = dynamic_cast<QCheckBox*>(dist);
    38         QCheckBox * checkbox = dynamic_cast<QCheckBox*>(dist);
    39         QComboBox * droplist = dynamic_cast<QComboBox*>(dist);
    39         QComboBox * droplist = dynamic_cast<QComboBox*>(dist);
    40         QSlider * slider = dynamic_cast<QSlider*>(dist);
    40         QSlider * slider = dynamic_cast<QSlider*>(dist);
    41         QTabWidget * tab = dynamic_cast<QTabWidget*>(dist);
    41         QTabWidget * tab = dynamic_cast<QTabWidget*>(dist);
    42         if (HWForm::config->isFrontendSoundEnabled() && (button || textfield || checkbox || droplist || slider || tab))
    42         if (button || textfield || checkbox || droplist || slider || tab)
    43         {
    43         {
    44             SDLInteraction::instance().playSoundFile("/Sounds/steps.ogg");
    44             SDLInteraction::instance().playSoundFile("/Sounds/steps.ogg");
    45         }
    45         }
    46 
    46 
    47         return true;
    47         return true;