author | llornkcor <llornkcor> | 2002-06-29 01:11:48 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-29 01:11:48 (UTC) |
commit | a5d9aa39940c14c477b9ef2887c8fd303fa6a0e4 (patch) (unidiff) | |
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() { | |||
292 | } | 292 | } |
293 | 293 | ||
294 | // if(useAlerts) | 294 | // if(useAlerts) |
295 | // QMessageBox::message("VMemo","Really Record?");//) ==1) | 295 | // QMessageBox::message("VMemo","Really Record?");//) ==1) |
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 | ||
320 | int s; | 323 | int s; |
321 | s=fileName.find(':'); | 324 | s=fileName.find(':'); |
322 | if(s) | 325 | if(s) |
323 | fileName=fileName.right(fileName.length()-s-2); | 326 | fileName=fileName.right(fileName.length()-s-2); |