author | llornkcor <llornkcor> | 2002-05-23 01:59:47 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-23 01:59:47 (UTC) |
commit | ae177d167999f204a968ea21ae4a4a804d939e6d (patch) (side-by-side diff) | |
tree | f73cde3f861b8016053d4cdfa5236e2394f45c97 /library/qpeapplication.cpp | |
parent | b448fc3d97345bbc52ce79fb1901e0a610e9a55c (diff) | |
download | opie-ae177d167999f204a968ea21ae4a4a804d939e6d.zip opie-ae177d167999f204a968ea21ae4a4a804d939e6d.tar.gz opie-ae177d167999f204a968ea21ae4a4a804d939e6d.tar.bz2 |
make sound conform to sharps warped sense of conf
-rw-r--r-- | library/qpeapplication.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 5f61c0c..cf437da 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -173,8 +173,8 @@ 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) { @@ -193,6 +193,6 @@ 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); |