-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 | |||
@@ -296,24 +296,27 @@ bool VMemo::startRecording() { | |||
296 | // return; | 296 | // return; |
297 | // } else { | 297 | // } else { |
298 | // if (!systemZaurus ) | 298 | // if (!systemZaurus ) |
299 | // QSound::play(Resource::findSound("vmemob")); | 299 | // QSound::play(Resource::findSound("vmemob")); |
300 | // } | 300 | // } |
301 | qDebug("Start recording engines"); | 301 | qDebug("Start recording engines"); |
302 | recording = TRUE; | 302 | recording = TRUE; |
303 | 303 | ||
304 | if (openDSP() == -1) { | 304 | if (openDSP() == -1) { |
305 | // QMessageBox::critical(0, "vmemo", "Could not open dsp device.\n"+errorMsg, "Abort"); | 305 | // QMessageBox::critical(0, "vmemo", "Could not open dsp device.\n"+errorMsg, "Abort"); |
306 | // delete msgLabel; | 306 | // delete msgLabel; |
307 | recording = FALSE; | 307 | recording = FALSE; |
308 | msgLabel=0; | ||
309 | delete msgLabel; | ||
310 | |||
308 | return FALSE; | 311 | return FALSE; |
309 | } | 312 | } |
310 | 313 | ||
311 | config.setGroup("Defaults"); | 314 | config.setGroup("Defaults"); |
312 | 315 | ||
313 | QDateTime dt = QDateTime::currentDateTime(); | 316 | QDateTime dt = QDateTime::currentDateTime(); |
314 | 317 | ||
315 | QString fName; | 318 | QString fName; |
316 | config.setGroup( "System" ); | 319 | config.setGroup( "System" ); |
317 | fName = QPEApplication::documentDir() ; | 320 | fName = QPEApplication::documentDir() ; |
318 | fileName = config.readEntry("RecLocation", fName); | 321 | fileName = config.readEntry("RecLocation", fName); |
319 | 322 | ||