Diffstat (limited to 'core/settings/light-and-power/light.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/settings/light-and-power/light.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/core/settings/light-and-power/light.cpp b/core/settings/light-and-power/light.cpp index d2618d9..bf94a21 100644 --- a/core/settings/light-and-power/light.cpp +++ b/core/settings/light-and-power/light.cpp | |||
@@ -80,3 +80,3 @@ LightSettings::LightSettings( QWidget* parent, const char* name, WFlags ) | |||
80 | if ( config.readNumEntry("Dim",1) == 0 ) { | 80 | if ( config.readNumEntry("Dim",1) == 0 ) { |
81 | interval_dim->setSpecialValueText( tr("never") ); | 81 | interval_dim->setValue( 0 ); |
82 | } else { | 82 | } else { |
@@ -87,3 +87,3 @@ LightSettings::LightSettings( QWidget* parent, const char* name, WFlags ) | |||
87 | if ( config.readNumEntry("LightOff",1) == 0 ) { | 87 | if ( config.readNumEntry("LightOff",1) == 0 ) { |
88 | interval_lightoff->setSpecialValueText( tr("never") ); | 88 | interval_lightoff->setValue( 0 ); |
89 | } else { | 89 | } else { |
@@ -95,4 +95,4 @@ LightSettings::LightSettings( QWidget* parent, const char* name, WFlags ) | |||
95 | 95 | ||
96 | if ( config.readNumEntry("NoApm", 0) == 0 ) { | 96 | if ( config.readNumEntry("NoApm", 0 ) == 1 ) { |
97 | interval_suspend->setSpecialValueText( tr("never") ); | 97 | interval_suspend->setValue( 0 ); |
98 | } else { | 98 | } else { |
@@ -120,3 +120,3 @@ LightSettings::LightSettings( QWidget* parent, const char* name, WFlags ) | |||
120 | if ( config.readNumEntry("Dim",1) == 0 ) { | 120 | if ( config.readNumEntry("Dim",1) == 0 ) { |
121 | interval_dim_ac_3->setSpecialValueText( tr("never") ); | 121 | interval_dim_ac_3->setValue( 0 ); |
122 | } else { | 122 | } else { |
@@ -127,3 +127,3 @@ LightSettings::LightSettings( QWidget* parent, const char* name, WFlags ) | |||
127 | if ( config.readNumEntry("LightOff",1) == 0 ) { | 127 | if ( config.readNumEntry("LightOff",1) == 0 ) { |
128 | interval_lightoff_ac_3->setSpecialValueText( tr("never") ); | 128 | interval_lightoff_ac_3->setValue( 0 ); |
129 | } else { | 129 | } else { |
@@ -136,4 +136,4 @@ LightSettings::LightSettings( QWidget* parent, const char* name, WFlags ) | |||
136 | } | 136 | } |
137 | if ( config.readNumEntry("NoApm", 0) == 0 ) { | 137 | if ( config.readNumEntry("NoApm", 1) == 1 ) { |
138 | interval_suspend_ac_3->setSpecialValueText( tr("never") ); | 138 | interval_suspend_ac_3->setValue( 0 ); |
139 | } else { | 139 | } else { |