author | llornkcor <llornkcor> | 2002-05-23 02:03:12 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-23 02:03:12 (UTC) |
commit | d295491048567c8424643b983a21dc503857d91a (patch) (side-by-side diff) | |
tree | 54cc32b49eef8518ffbeeacb99ffcbb35ec60769 /core/applets/vmemo | |
parent | 7cec3bc3d3b8945e80c9171b9173d3d2dbdd2eaf (diff) | |
download | opie-d295491048567c8424643b983a21dc503857d91a.zip opie-d295491048567c8424643b983a21dc503857d91a.tar.gz opie-d295491048567c8424643b983a21dc503857d91a.tar.bz2 |
new sound config
-rw-r--r-- | core/applets/vmemo/vmemo.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp index c27050d..7cc4062 100644 --- a/core/applets/vmemo/vmemo.cpp +++ b/core/applets/vmemo/vmemo.cpp @@ -271,3 +271,3 @@ bool VMemo::startRecording() { return FALSE;; - Config config( "Sound" ); + Config config( "Vmemo" ); config.setGroup( "System" ); @@ -290,4 +290,3 @@ bool VMemo::startRecording() { - Config vmCfg("VMemo"); - vmCfg.setGroup("Defaults"); + config.setGroup("Defaults"); @@ -296,6 +295,5 @@ bool VMemo::startRecording() { QString fName; - Config cfg( "Sound" ); - cfg.setGroup( "System" ); + config.setGroup( "System" ); fName = QPEApplication::documentDir() ; - fileName = cfg.readEntry("RecLocation", fName); + fileName = config.readEntry("RecLocation", fName); @@ -327,3 +325,3 @@ bool VMemo::startRecording() { QArray<int> cats(1); - cats[0] = vmCfg.readNumEntry("Category", 0); + cats[0] = config.readNumEntry("Category", 0); @@ -348,3 +346,3 @@ int VMemo::openDSP() { - Config cfg("Sound"); + Config cfg("Vmemo"); cfg.setGroup("Record"); |