QTfrontend/gameuiconfig.cpp
changeset 14961 575dbd7b5f43
parent 14740 7b2bd37d7503
child 15283 c4fd2813b127
child 15298 976b3ed9b1fd
equal deleted inserted replaced
14960:372b25c6bdee 14961:575dbd7b5f43
   451 bool GameUIConfig::isHolidaySillinessEnabled() const
   451 bool GameUIConfig::isHolidaySillinessEnabled() const
   452 {
   452 {
   453     return value("misc/holidaySilliness", true).toBool();
   453     return value("misc/holidaySilliness", true).toBool();
   454 }
   454 }
   455 
   455 
       
   456 int GameUIConfig::quickGameExperience() const
       
   457 {
       
   458     return value("misc/quickGameExperience", 0).toInt();
       
   459 }
       
   460 
       
   461 void GameUIConfig::setQuickGameExperience(int exp)
       
   462 {
       
   463     setValue("misc/quickGameExperience", exp);
       
   464 }
       
   465 
   456 bool GameUIConfig::isSoundEnabled()
   466 bool GameUIConfig::isSoundEnabled()
   457 {
   467 {
   458     return Form->ui.pageOptions->CBSound->isChecked();
   468     return Form->ui.pageOptions->CBSound->isChecked();
   459 }
   469 }
   460 bool GameUIConfig::isFrontendSoundEnabled()
   470 bool GameUIConfig::isFrontendSoundEnabled()