From ae177d167999f204a968ea21ae4a4a804d939e6d Mon Sep 17 00:00:00 2001 From: llornkcor Date: Thu, 23 May 2002 01:59:47 +0000 Subject: make sound conform to sharps warped sense of conf --- diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 5f61c0c..cf437da 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -172,10 +172,10 @@ static void setVolume(int t=0, int percent=-1) { switch (t) { case 0: { - Config cfg("Sound"); - cfg.setGroup("System"); + Config cfg("qpe"); + cfg.setGroup("Volume"); if ( percent < 0 ) - percent = cfg.readNumEntry("Volume",50); + percent = cfg.readNumEntry("VolumePercent",50); int fd = 0; if ((fd = open("/dev/mixer", O_RDWR))>=0) { int vol = muted ? 0 : percent; @@ -192,8 +192,8 @@ static void setMic(int t=0, int percent=-1) { switch (t) { case 0: { - Config cfg("Sound"); - cfg.setGroup("System"); + Config cfg("qpe"); + cfg.setGroup("Volume"); if ( percent < 0 ) percent = cfg.readNumEntry("Mic",50); -- cgit v0.9.0.2