diff options
Diffstat (limited to 'krdc/rdp/rdpprefs.ui.h')
-rw-r--r-- | krdc/rdp/rdpprefs.ui.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/krdc/rdp/rdpprefs.ui.h b/krdc/rdp/rdpprefs.ui.h index 06efe7f4..295ea5a8 100644 --- a/krdc/rdp/rdpprefs.ui.h +++ b/krdc/rdp/rdpprefs.ui.h @@ -34,6 +34,13 @@ void RdpPrefs::resolutionChanged( int selection ) break; case 3: + break; + + case 4: + spinWidth->setValue(0); + spinHeight->setValue(0); + break; + default: break; } @@ -115,6 +122,15 @@ void RdpPrefs::setResolution() { cmbResolution->setCurrentItem(2); } + else if (cmbResolution->currentItem()==4) + { + // Fullscreen selected + } + else if (rdpWidth()==0 && rdpHeight()==0) + { + // Fullscreen selected + cmbResolution->setCurrentItem(4); + } else { cmbResolution->setCurrentItem(3); |