summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-06-27 22:57:58 (UTC)
committer llornkcor <llornkcor>2004-06-27 22:57:58 (UTC)
commit8aacad28f7906452f6e410f81b286430d43a0eb3 (patch) (side-by-side diff)
tree7ad01098a73a9d45b621af2aec03bdba3091d90a
parent78cd13f15c6057e18b6f095841a90bb438dd6fd2 (diff)
downloadopie-8aacad28f7906452f6e410f81b286430d43a0eb3.zip
opie-8aacad28f7906452f6e410f81b286430d43a0eb3.tar.gz
opie-8aacad28f7906452f6e410f81b286430d43a0eb3.tar.bz2
replace dots in filename
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.cpp2
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
@@ -302,25 +302,25 @@ bool VMemo::startRecording() {
recording = TRUE;
if (openDSP() == -1) {
recording = FALSE;
return FALSE;
}
config.setGroup("Defaults");
date = TimeString::dateString( QDateTime::currentDateTime(),false,true);
date.replace(QRegExp("'"),"");
date.replace(QRegExp(" "),"_");
- date.replace(QRegExp(":"),".");
+ date.replace(QRegExp(":"),"-");
date.replace(QRegExp(","),"");
QString fName;
config.setGroup( "System" );
fName = QPEApplication::documentDir() ;
fileName = config.readEntry("RecLocation", fName);
int s;
s=fileName.find(':');
if(s)
fileName=fileName.right(fileName.length()-s-2);
odebug << "pathname will be "+fileName << oendl;