Diffstat (limited to 'noncore/applets/brightnessapplet/brightnessapplet.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/brightnessapplet/brightnessapplet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/applets/brightnessapplet/brightnessapplet.cpp b/noncore/applets/brightnessapplet/brightnessapplet.cpp index 5aaa27e..90fde05 100644 --- a/noncore/applets/brightnessapplet/brightnessapplet.cpp +++ b/noncore/applets/brightnessapplet/brightnessapplet.cpp @@ -159,9 +159,9 @@ BrightnessApplet::BrightnessApplet( QWidget *parent, const char *name ) void BrightnessApplet::writeSystemBrightness(int brightness) { PowerStatus ps = PowerStatusManager::readStatus(); - Config cfg("qpe"); + Config cfg( "apm" ); if (ps.acStatus() == PowerStatus::Online) { cfg.setGroup("AC"); } else { cfg.setGroup("Battery"); @@ -174,9 +174,9 @@ void BrightnessApplet::writeSystemBrightness(int brightness) int BrightnessApplet::readSystemBrightness(void) { PowerStatus ps = PowerStatusManager::readStatus(); - Config cfg("qpe"); + Config cfg( "apm" ); if (ps.acStatus() == PowerStatus::Online) { cfg.setGroup("AC"); } else { |