author | llornkcor <llornkcor> | 2004-06-28 11:56:33 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-06-28 11:56:33 (UTC) |
commit | ac6d6947ade0f1bbffa8a4f3b9ac51ca0475f1fb (patch) (side-by-side diff) | |
tree | 3087ee37a0bda7bd18c87789236d88d9412d8dde | |
parent | 70b610b8e402b0e304238994258664d0e4fbedf6 (diff) | |
download | opie-ac6d6947ade0f1bbffa8a4f3b9ac51ca0475f1fb.zip opie-ac6d6947ade0f1bbffa8a4f3b9ac51ca0475f1fb.tar.gz opie-ac6d6947ade0f1bbffa8a4f3b9ac51ca0475f1fb.tar.bz2 |
remove dots in name
-rw-r--r-- | noncore/multimedia/opierec/wavFile.cpp | 2 |
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() { currentFileName=cfg.readEntry("directory",QDir::homeDirPath()); QString date; QDateTime dt = QDateTime::currentDateTime(); date = dt.toString();//TimeString::dateString( QDateTime::currentDateTime(),false,true); date.replace(QRegExp("'"),""); date.replace(QRegExp(" "),"_"); - date.replace(QRegExp(":"),"."); + date.replace(QRegExp(":"),"-"); date.replace(QRegExp(","),""); QString currentFile=date; if(currentFileName.right(1).find("/",0,true) == -1) currentFileName += "/" + date; else |