-rw-r--r-- | core/settings/light-and-power/light.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/settings/light-and-power/light.cpp b/core/settings/light-and-power/light.cpp index b56ae11..e959603 100644 --- a/core/settings/light-and-power/light.cpp +++ b/core/settings/light-and-power/light.cpp | |||
@@ -60,5 +60,5 @@ LightSettings::LightSettings( QWidget* parent, const char* name, WFlags fl ) | |||
60 | int interval; | 60 | int interval; |
61 | interval = config.readNumEntry( "Interval_Dim", 30 ); | 61 | interval = config.readNumEntry( "Interval_Dim", 20 ); |
62 | interval_dim->setValue( interval ); | 62 | interval_dim->setValue( interval ); |
63 | interval = config.readNumEntry( "Interval_LightOff", 20 ); | 63 | interval = config.readNumEntry( "Interval_LightOff", 30 ); |
64 | interval_lightoff->setValue( interval ); | 64 | interval_lightoff->setValue( interval ); |
@@ -102,3 +102,3 @@ void LightSettings::accept() | |||
102 | if ( qApp->focusWidget() ) | 102 | if ( qApp->focusWidget() ) |
103 | qApp->focusWidget()->clearFocus(); | 103 | qApp->focusWidget()->clearFocus(); |
104 | 104 | ||
@@ -121,3 +121,3 @@ void LightSettings::accept() | |||
121 | config.writeEntry( "Brightness", | 121 | config.writeEntry( "Brightness", |
122 | (brightness->maxValue()-brightness->value())*255/brightness->maxValue() ); | 122 | (brightness->maxValue()-brightness->value())*255/brightness->maxValue() ); |
123 | config.write(); | 123 | config.write(); |
@@ -130,3 +130,3 @@ void LightSettings::applyBrightness() | |||
130 | int bright = (brightness->maxValue()-brightness->value())*255 | 130 | int bright = (brightness->maxValue()-brightness->value())*255 |
131 | / brightness->maxValue(); | 131 | / brightness->maxValue(); |
132 | set_fl(bright); | 132 | set_fl(bright); |
@@ -137,4 +137,4 @@ void LightSettings::done(int r) | |||
137 | { | 137 | { |
138 | QDialog::done(r); | 138 | QDialog::done(r); |
139 | close ( ); | 139 | close ( ); |
140 | } | 140 | } |