-rw-r--r-- | core/settings/light-and-power/light.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/settings/light-and-power/light.cpp b/core/settings/light-and-power/light.cpp index 1c61787..d0ac878 100644 --- a/core/settings/light-and-power/light.cpp +++ b/core/settings/light-and-power/light.cpp @@ -163,27 +163,27 @@ LightSettings::LightSettings( QWidget* parent, const char* name, WFlags ) contrast_ac-> setTickInterval ( QMAX( 16, 256 / m_cres )); contrast_ac-> setLineStep ( QMAX( 1, 256 / m_cres )); contrast_ac-> setPageStep ( QMAX( 1, 256 / m_cres )); contrast_ac-> setValue ( contr ); } // light sensor auto_brightness_ac-> setChecked ( config. readBoolEntry ( "LightSensor", false )); m_sensordata_ac = config. readListEntry ( "LightSensorData", ';' ); // warnings config. setGroup ( "Warnings" ); - warnintervalBox-> setValue ( config. readNumEntry ( "checkinterval", 10000 ) / 1000 ); - lowSpinBox-> setValue ( config. readNumEntry ( "powerverylow", 10 ) ); - criticalSpinBox-> setValue ( config. readNumEntry ( "powercritical", 5 ) ); + warnintervalBox-> setValue ( config. readNumEntry ( "check_interval", 10000 ) / 1000 ); + lowSpinBox-> setValue ( config. readNumEntry ( "power_verylow", 10 ) ); + criticalSpinBox-> setValue ( config. readNumEntry ( "power_critical", 5 ) ); m_resettimer = new QTimer ( this ); connect ( m_resettimer, SIGNAL( timeout()), this, SLOT( resetBacklight())); if ( PowerStatusManager::readStatus ( ). acStatus ( ) != PowerStatus::Online ) { tabs-> setCurrentPage ( 0 ); brightness->setFocus(); } else { tabs-> setCurrentPage ( 1 ); brightness_ac->setFocus(); } |