summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-04-23 07:17:35 (UTC)
committer llornkcor <llornkcor>2004-04-23 07:17:35 (UTC)
commit448732c964768b5be8677a95aa1f9b07bad9e8a2 (patch) (unidiff)
tree9a42956b0f6153e1e4b188ee4f53827c5f663026
parentba10e43945b15753e0438cd0176cfa61d61c7391 (diff)
downloadopie-448732c964768b5be8677a95aa1f9b07bad9e8a2.zip
opie-448732c964768b5be8677a95aa1f9b07bad9e8a2.tar.gz
opie-448732c964768b5be8677a95aa1f9b07bad9e8a2.tar.bz2
doesnt make sense to turn light off before it dims for default
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/light-and-power/light.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/settings/light-and-power/light.cpp b/core/settings/light-and-power/light.cpp
index ebcc25c..d64a063 100644
--- a/core/settings/light-and-power/light.cpp
+++ b/core/settings/light-and-power/light.cpp
@@ -96,18 +96,18 @@ LightSettings::LightSettings( QWidget* parent, const char* name, WFlags )
96 closeHingeLabel_ac->hide(); 96 closeHingeLabel_ac->hide();
97 closeHingeAction_ac->hide(); 97 closeHingeAction_ac->hide();
98 } 98 }
99 99
100 Config config ( "apm" ); 100 Config config ( "apm" );
101 config. setGroup ( "Battery" ); 101 config. setGroup ( "Battery" );
102 102
103 // battery spinboxes 103 // battery spinboxes
104 interval_dim-> setValue ( config. readNumEntry ( "Dim", 30 )); 104 interval_dim-> setValue ( config. readNumEntry ( "Dim", 20 ));
105 interval_lightoff-> setValue ( config. readNumEntry ( "LightOff", 20 )); 105 interval_lightoff-> setValue ( config. readNumEntry ( "LightOff", 30 ));
106 interval_suspend-> setValue ( config. readNumEntry ( "Suspend", 60 )); 106 interval_suspend-> setValue ( config. readNumEntry ( "Suspend", 60 ));
107 107
108 // battery check and slider 108 // battery check and slider
109 LcdOffOnly->setChecked ( config. readBoolEntry ( "LcdOffOnly", false )); 109 LcdOffOnly->setChecked ( config. readBoolEntry ( "LcdOffOnly", false ));
110 110
111 // CPU frequency 111 // CPU frequency
112 frequency->setCurrentItem( config.readNumEntry("Freq", 0) ); 112 frequency->setCurrentItem( config.readNumEntry("Freq", 0) );
113 113