diff options
Diffstat (limited to 'src/configuredialog.cpp')
-rw-r--r-- | src/configuredialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configuredialog.cpp b/src/configuredialog.cpp index a7294f1..1669d24 100644 --- a/src/configuredialog.cpp +++ b/src/configuredialog.cpp @@ -1652,7 +1652,7 @@ void ConfigureDialog::brightnessSlider_sliderMoved( int new_value ) { if (cB_Brightness->isEnabled() && cB_Brightness->isChecked()) { scheme_valueChanged(); tL_valueBrightness->setText(TQString::number(new_value) + " %"); - hwinfo->setBrightness(-1, new_value); + hwinfo->setBrightnessPercentage(new_value); pB_resetBrightness->setEnabled(true); brightness_changed = true; } @@ -1664,7 +1664,7 @@ void ConfigureDialog::brightnessSlider_sliderMoved( int new_value ) { void ConfigureDialog::pB_resetBrightness_clicked( ) { kdDebugFuncIn(trace); - hwinfo->setBrightness(brightness_last, -1); + hwinfo->setBrightnessLevel(brightness_last); brightnessSlider->setValue(brightness_last); pB_resetBrightness->setEnabled(false); brightness_changed = false; |