QTfrontend/ui/page/pageoptions.cpp
changeset 6218 999215ca87d7
parent 6217 ef53ba841791
child 6525 6c97379c584b
equal deleted inserted replaced
6217:ef53ba841791 6218:999215ca87d7
   446     }
   446     }
   447 }
   447 }
   448 
   448 
   449 void PageOptions::setQuality(int value)
   449 void PageOptions::setQuality(int value)
   450 {
   450 {
   451 	Q_UNUSED(value);
   451     Q_UNUSED(value);
   452 
   452 
   453     int index = this->CBStereoMode->currentIndex();
   453     int index = this->CBStereoMode->currentIndex();
   454     if (index == 0)
   454     if (index == 0)
   455         previousQuality = this->SLQuality->value();
   455         previousQuality = this->SLQuality->value();
   456 }
   456 }
   457 
   457 
   458 void PageOptions::setFullscreen(int state)
   458 void PageOptions::setFullscreen(int state)
   459 {
   459 {
   460 	Q_UNUSED(state);
   460     Q_UNUSED(state);
   461 
   461 
   462     int index = this->CBStereoMode->currentIndex();
   462     int index = this->CBStereoMode->currentIndex();
   463     if (index != 7 && index != 8 && index != 9)
   463     if (index != 7 && index != 8 && index != 9)
   464         previousFullscreenValue = this->CBFullscreen->isChecked();
   464         previousFullscreenValue = this->CBFullscreen->isChecked();
   465 }
   465 }
   466 
   466 
   467 void PageOptions::setResolution(int state)
   467 void PageOptions::setResolution(int state)
   468 {
   468 {
   469 	Q_UNUSED(state);
   469     Q_UNUSED(state);
   470 
   470 
   471     int index = this->CBStereoMode->currentIndex();
   471     int index = this->CBStereoMode->currentIndex();
   472     if (index != 7 && index != 8 && index != 9)
   472     if (index != 7 && index != 8 && index != 9)
   473         previousResolutionIndex = this->CBResolution->currentIndex();
   473         previousResolutionIndex = this->CBResolution->currentIndex();
   474 }
   474 }