author | llornkcor <llornkcor> | 2002-07-29 12:22:11 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-29 12:22:11 (UTC) |
commit | 0868e96b1737d121733c898ae92348a279e5b53f (patch) (unidiff) | |
tree | b0fd8451d06776994528f3aa3b561fccbd053151 | |
parent | b4827a8b268af9d1485455cdf727f564047f396e (diff) | |
download | opie-0868e96b1737d121733c898ae92348a279e5b53f.zip opie-0868e96b1737d121733c898ae92348a279e5b53f.tar.gz opie-0868e96b1737d121733c898ae92348a279e5b53f.tar.bz2 |
fix bug number 140
-rw-r--r-- | core/applets/vmemo/vmemo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp index 0c792c6..577db75 100644 --- a/core/applets/vmemo/vmemo.cpp +++ b/core/applets/vmemo/vmemo.cpp | |||
@@ -363,12 +363,13 @@ bool VMemo::startRecording() { | |||
363 | fileName+=fName; | 363 | fileName+=fName; |
364 | // No spaces in the filename | 364 | // No spaces in the filename |
365 | fileName.replace(QRegExp("'"),""); | 365 | fileName.replace(QRegExp("'"),""); |
366 | fileName.replace(QRegExp(" "),"_"); | 366 | fileName.replace(QRegExp(" "),"_"); |
367 | fileName.replace(QRegExp(":"),"."); | 367 | fileName.replace(QRegExp(":"),"."); |
368 | fileName.replace(QRegExp(","),""); | 368 | fileName.replace(QRegExp(","),""); |
369 | fileName += ".wav"; | ||
369 | 370 | ||
370 | qDebug("filename is "+fileName); | 371 | qDebug("filename is "+fileName); |
371 | // open tmp file here | 372 | // open tmp file here |
372 | char *pointer; | 373 | char *pointer; |
373 | pointer=tmpnam(NULL); | 374 | pointer=tmpnam(NULL); |
374 | qDebug("Opening tmp file %s",pointer); | 375 | qDebug("Opening tmp file %s",pointer); |