QTfrontend/gameuiconfig.cpp
changeset 14675 56831f466d1d
parent 14068 b8df809c62bf
child 14682 93429d8f6b3f
equal deleted inserted replaced
14674:fd22b6d474e7 14675:56831f466d1d
   439 bool GameUIConfig::isFrontendFullscreen() const
   439 bool GameUIConfig::isFrontendFullscreen() const
   440 {
   440 {
   441     return Form->ui.pageOptions->CBFrontendFullscreen->isChecked();
   441     return Form->ui.pageOptions->CBFrontendFullscreen->isChecked();
   442 }
   442 }
   443 
   443 
       
   444 bool GameUIConfig::isHolidaySillinessEnabled() const
       
   445 {
       
   446     return value("misc/holidaySilliness", true).toBool();
       
   447 }
       
   448 
   444 bool GameUIConfig::isSoundEnabled()
   449 bool GameUIConfig::isSoundEnabled()
   445 {
   450 {
   446     return Form->ui.pageOptions->CBSound->isChecked();
   451     return Form->ui.pageOptions->CBSound->isChecked();
   447 }
   452 }
   448 bool GameUIConfig::isFrontendSoundEnabled()
   453 bool GameUIConfig::isFrontendSoundEnabled()