summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp
index 7cc4062..f5d2b20 100644
--- a/core/applets/vmemo/vmemo.cpp
+++ b/core/applets/vmemo/vmemo.cpp
@@ -302,8 +302,10 @@ bool VMemo::startRecording() {
302 if(s) 302 if(s)
303 fileName=fileName.right(fileName.length()-s-2); 303 fileName=fileName.right(fileName.length()-s-2);
304 qDebug("filename will be "+fileName); 304 qDebug("filename will be "+fileName);
305 if( fileName.right(1).find('/') == -1) 305 if( fileName.left(1).find('/') == -1)
306 fileName+="/"; 306 fileName="/"+fileName;
307 if( fileName.right(1).find('/') == -1)
308 fileName+="/";
307 fName = "vm_"+ dt.toString()+ ".wav"; 309 fName = "vm_"+ dt.toString()+ ".wav";
308 310
309 fileName+=fName; 311 fileName+=fName;