summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-06-28 11:56:33 (UTC)
committer llornkcor <llornkcor>2004-06-28 11:56:33 (UTC)
commitac6d6947ade0f1bbffa8a4f3b9ac51ca0475f1fb (patch) (side-by-side diff)
tree3087ee37a0bda7bd18c87789236d88d9412d8dde
parent70b610b8e402b0e304238994258664d0e4fbedf6 (diff)
downloadopie-ac6d6947ade0f1bbffa8a4f3b9ac51ca0475f1fb.zip
opie-ac6d6947ade0f1bbffa8a4f3b9ac51ca0475f1fb.tar.gz
opie-ac6d6947ade0f1bbffa8a4f3b9ac51ca0475f1fb.tar.bz2
remove dots in name
Diffstat (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
@@ -44,25 +44,25 @@ WavFile::WavFile( QObject * parent,const QString &fileName, bool makeNwFile, int
bool WavFile::newFile() {
// odebug << "Set up new file" << oendl;
Config cfg("OpieRec");
cfg.setGroup("Settings");
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
currentFileName += date;
currentFileName+=".wav";
// odebug << "set up file for recording: "+currentFileName << oendl;
char pointer[] = "/tmp/opierec-XXXXXX";
int fd = 0;