author | llornkcor <llornkcor> | 2002-07-29 12:22:11 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-29 12:22:11 (UTC) |
commit | 0868e96b1737d121733c898ae92348a279e5b53f (patch) (side-by-side diff) | |
tree | b0fd8451d06776994528f3aa3b561fccbd053151 /core/applets/vmemo/vmemo.cpp | |
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 @@ -357,24 +357,25 @@ bool VMemo::startRecording() { if( fileName.left(1).find('/') == -1) fileName="/"+fileName; if( fileName.right(1).find('/') == -1) fileName+="/"; fName = "vm_"+ dt.toString()+ ".wav"; fileName+=fName; // No spaces in the filename fileName.replace(QRegExp("'"),""); fileName.replace(QRegExp(" "),"_"); fileName.replace(QRegExp(":"),"."); fileName.replace(QRegExp(","),""); + fileName += ".wav"; qDebug("filename is "+fileName); // open tmp file here char *pointer; pointer=tmpnam(NULL); qDebug("Opening tmp file %s",pointer); if(openWAV(pointer ) == -1) { // if(openWAV(fileName.latin1()) == -1) { QString err("Could not open the temp file\n"); err += fileName; |