From d2f3b6f525be4d652fbac7c87ab0ad40e21af184 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Wed, 10 Nov 2004 19:41:11 +0000 Subject: BUGFIX: write to the proper config file *cough* --- (limited to 'noncore/applets') 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 @@ -160,7 +160,7 @@ void BrightnessApplet::writeSystemBrightness(int brightness) { PowerStatus ps = PowerStatusManager::readStatus(); - Config cfg("qpe"); + Config cfg( "apm" ); if (ps.acStatus() == PowerStatus::Online) { cfg.setGroup("AC"); } else { @@ -175,7 +175,7 @@ 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"); diff --git a/noncore/applets/brightnessapplet/brightnessapplet.pro b/noncore/applets/brightnessapplet/brightnessapplet.pro index 8c65120..79a44d3 100644 --- a/noncore/applets/brightnessapplet/brightnessapplet.pro +++ b/noncore/applets/brightnessapplet/brightnessapplet.pro @@ -7,7 +7,7 @@ DESTDIR = $(OPIEDIR)/plugins/applets INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += $(OPIEDIR)/include LIBS += -lqpe -lopiecore2 -lopieui2 -VERSION = 0.1.1 +VERSION = 0.1.2 include ( $(OPIEDIR)/include.pro ) -- cgit v0.9.0.2