author | llornkcor <llornkcor> | 2002-06-29 01:11:48 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-29 01:11:48 (UTC) |
commit | a5d9aa39940c14c477b9ef2887c8fd303fa6a0e4 (patch) (side-by-side diff) | |
tree | 471d9879766c1c39b5039478a23a20948b8d0325 | |
parent | a9e336965e1cccb41d3e9f5c31168c85cf4e7d36 (diff) | |
download | opie-a5d9aa39940c14c477b9ef2887c8fd303fa6a0e4.zip opie-a5d9aa39940c14c477b9ef2887c8fd303fa6a0e4.tar.gz opie-a5d9aa39940c14c477b9ef2887c8fd303fa6a0e4.tar.bz2 |
fix
-rw-r--r-- | core/applets/vmemo/vmemo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp index 2d694d2..7965b59 100644 --- a/core/applets/vmemo/vmemo.cpp +++ b/core/applets/vmemo/vmemo.cpp @@ -292,32 +292,35 @@ bool VMemo::startRecording() { } // if(useAlerts) // QMessageBox::message("VMemo","Really Record?");//) ==1) // return; // } else { // if (!systemZaurus ) // QSound::play(Resource::findSound("vmemob")); // } qDebug("Start recording engines"); recording = TRUE; if (openDSP() == -1) { // QMessageBox::critical(0, "vmemo", "Could not open dsp device.\n"+errorMsg, "Abort"); // delete msgLabel; recording = FALSE; + msgLabel=0; + delete msgLabel; + return FALSE; } config.setGroup("Defaults"); QDateTime dt = QDateTime::currentDateTime(); QString fName; config.setGroup( "System" ); fName = QPEApplication::documentDir() ; fileName = config.readEntry("RecLocation", fName); int s; s=fileName.find(':'); if(s) fileName=fileName.right(fileName.length()-s-2); |