summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opierec/wavFile.cpp
authorllornkcor <llornkcor>2004-06-28 11:56:33 (UTC)
committer llornkcor <llornkcor>2004-06-28 11:56:33 (UTC)
commitac6d6947ade0f1bbffa8a4f3b9ac51ca0475f1fb (patch) (unidiff)
tree3087ee37a0bda7bd18c87789236d88d9412d8dde /noncore/multimedia/opierec/wavFile.cpp
parent70b610b8e402b0e304238994258664d0e4fbedf6 (diff)
downloadopie-ac6d6947ade0f1bbffa8a4f3b9ac51ca0475f1fb.zip
opie-ac6d6947ade0f1bbffa8a4f3b9ac51ca0475f1fb.tar.gz
opie-ac6d6947ade0f1bbffa8a4f3b9ac51ca0475f1fb.tar.bz2
remove dots in name
Diffstat (limited to 'noncore/multimedia/opierec/wavFile.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opierec/wavFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opierec/wavFile.cpp b/noncore/multimedia/opierec/wavFile.cpp
index 360b884..80453e1 100644
--- a/noncore/multimedia/opierec/wavFile.cpp
+++ b/noncore/multimedia/opierec/wavFile.cpp
@@ -50,13 +50,13 @@ bool WavFile::newFile() {
50 currentFileName=cfg.readEntry("directory",QDir::homeDirPath()); 50 currentFileName=cfg.readEntry("directory",QDir::homeDirPath());
51 QString date; 51 QString date;
52 QDateTime dt = QDateTime::currentDateTime(); 52 QDateTime dt = QDateTime::currentDateTime();
53 date = dt.toString();//TimeString::dateString( QDateTime::currentDateTime(),false,true); 53 date = dt.toString();//TimeString::dateString( QDateTime::currentDateTime(),false,true);
54 date.replace(QRegExp("'"),""); 54 date.replace(QRegExp("'"),"");
55 date.replace(QRegExp(" "),"_"); 55 date.replace(QRegExp(" "),"_");
56 date.replace(QRegExp(":"),"."); 56 date.replace(QRegExp(":"),"-");
57 date.replace(QRegExp(","),""); 57 date.replace(QRegExp(","),"");
58 58
59 QString currentFile=date; 59 QString currentFile=date;
60 if(currentFileName.right(1).find("/",0,true) == -1) 60 if(currentFileName.right(1).find("/",0,true) == -1)
61 currentFileName += "/" + date; 61 currentFileName += "/" + date;
62 else 62 else