equal
deleted
inserted
replaced
776 } |
776 } |
777 } |
777 } |
778 |
778 |
779 void PageOptions::setFullscreen(void) |
779 void PageOptions::setFullscreen(void) |
780 { |
780 { |
|
781 int tmp = this->CBResolution->currentIndex(); |
|
782 if (this->CBFullscreen->isChecked()) |
|
783 this->CBResolution->setCurrentIndex(0); |
|
784 else |
|
785 this->CBResolution->setCurrentIndex(previousResolutionIndex); |
|
786 previousResolutionIndex = tmp; |
781 this->CBResolution->setEnabled(!this->CBFullscreen->isChecked()); |
787 this->CBResolution->setEnabled(!this->CBFullscreen->isChecked()); |
782 } |
788 } |
783 |
789 |
784 PageNet::PageNet(QWidget* parent) : AbstractPage(parent) |
790 PageNet::PageNet(QWidget* parent) : AbstractPage(parent) |
785 { |
791 { |