author | llornkcor <llornkcor> | 2004-06-27 22:57:58 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-06-27 22:57:58 (UTC) |
commit | 8aacad28f7906452f6e410f81b286430d43a0eb3 (patch) (unidiff) | |
tree | 7ad01098a73a9d45b621af2aec03bdba3091d90a | |
parent | 78cd13f15c6057e18b6f095841a90bb438dd6fd2 (diff) | |
download | opie-8aacad28f7906452f6e410f81b286430d43a0eb3.zip opie-8aacad28f7906452f6e410f81b286430d43a0eb3.tar.gz opie-8aacad28f7906452f6e410f81b286430d43a0eb3.tar.bz2 |
replace dots in filename
-rw-r--r-- | core/applets/vmemo/vmemo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp index f088bef..b80b378 100644 --- a/core/applets/vmemo/vmemo.cpp +++ b/core/applets/vmemo/vmemo.cpp | |||
@@ -308,13 +308,13 @@ bool VMemo::startRecording() { | |||
308 | 308 | ||
309 | config.setGroup("Defaults"); | 309 | config.setGroup("Defaults"); |
310 | 310 | ||
311 | date = TimeString::dateString( QDateTime::currentDateTime(),false,true); | 311 | date = TimeString::dateString( QDateTime::currentDateTime(),false,true); |
312 | date.replace(QRegExp("'"),""); | 312 | date.replace(QRegExp("'"),""); |
313 | date.replace(QRegExp(" "),"_"); | 313 | date.replace(QRegExp(" "),"_"); |
314 | date.replace(QRegExp(":"),"."); | 314 | date.replace(QRegExp(":"),"-"); |
315 | date.replace(QRegExp(","),""); | 315 | date.replace(QRegExp(","),""); |
316 | 316 | ||
317 | QString fName; | 317 | QString fName; |
318 | config.setGroup( "System" ); | 318 | config.setGroup( "System" ); |
319 | fName = QPEApplication::documentDir() ; | 319 | fName = QPEApplication::documentDir() ; |
320 | fileName = config.readEntry("RecLocation", fName); | 320 | fileName = config.readEntry("RecLocation", fName); |