Diffstat (limited to 'core/settings/light-and-power/light.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/settings/light-and-power/light.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/settings/light-and-power/light.cpp b/core/settings/light-and-power/light.cpp index 24e1fab..960a165 100644 --- a/core/settings/light-and-power/light.cpp +++ b/core/settings/light-and-power/light.cpp @@ -70,2 +70,3 @@ LightSettings::LightSettings( QWidget* parent, const char* name, WFlags fl ) screensaver_lightoff->setChecked( config.readNumEntry("LightOff",1) != 0 ); + LcdOffOnly->setChecked( config.readNumEntry("LcdOffOnly",0) != 0 ); int maxbright = qpe_sysBrightnessSteps(); @@ -115,2 +116,3 @@ void LightSettings::accept() config.writeEntry( "LightOff", (int)screensaver_lightoff->isChecked() ); + config.writeEntry( "LcdOffOnly", (int)LcdOffOnly->isChecked() ); config.writeEntry( "Interval_Dim", interval_dim->value() ); |