Changeset View
Changeset View
Standalone View
Standalone View
rdp/rdppreferences.cpp
Show All 32 Lines | 32 | RdpPreferences::RdpPreferences(QWidget *parent, const QVariantList &args) | |||
---|---|---|---|---|---|
33 | : KCModule(parent, args) | 33 | : KCModule(parent, args) | ||
34 | { | 34 | { | ||
35 | Ui::RdpPreferences rdpUi; | 35 | Ui::RdpPreferences rdpUi; | ||
36 | rdpUi.setupUi(this); | 36 | rdpUi.setupUi(this); | ||
37 | // would need a lot of code duplication. find a solution, bit it's not | 37 | // would need a lot of code duplication. find a solution, bit it's not | ||
38 | // that important because you will not change this configuration each day... | 38 | // that important because you will not change this configuration each day... | ||
39 | // see rdp/rdphostpreferences.cpp | 39 | // see rdp/rdphostpreferences.cpp | ||
40 | rdpUi.kcfg_Resolution->hide(); | 40 | rdpUi.kcfg_Resolution->hide(); | ||
41 | rdpUi.resolutionDummyLabel->hide(); | | |||
uwolfer: Why is this not required anymore? | |||||
I think this was an hack to display width/height fields properly under the resolution combobox. scarpino: I think this was an hack to display width/height fields properly under the resolution combobox. | |||||
42 | rdpUi.kcfg_Height->setEnabled(true); | 41 | rdpUi.kcfg_Height->setEnabled(true); | ||
43 | rdpUi.kcfg_Width->setEnabled(true); | 42 | rdpUi.kcfg_Width->setEnabled(true); | ||
44 | rdpUi.heightLabel->setEnabled(true); | 43 | rdpUi.heightLabel->setEnabled(true); | ||
45 | rdpUi.widthLabel->setEnabled(true); | 44 | rdpUi.widthLabel->setEnabled(true); | ||
46 | 45 | | |||
47 | addConfig(Settings::self(), this); | 46 | addConfig(Settings::self(), this); | ||
48 | } | 47 | } | ||
49 | 48 | | |||
Show All 15 Lines |
Why is this not required anymore?