summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2007-08-29 17:54:52 +0000
committerDominik Wenger <domonoky@googlemail.com>2007-08-29 17:54:52 +0000
commit39dc7cdb49f923920dbe117924a63354452f05fb (patch)
tree3b0466f7a52f481bcf2e15030073d9df390ae2cf /rbutil
parentb93621d2aed395767a27a80cdefc736b98976cfb (diff)
downloadrockbox-39dc7cdb49f923920dbe117924a63354452f05fb.tar.gz
rockbox-39dc7cdb49f923920dbe117924a63354452f05fb.zip
rbutilQt: fix the log entry for talkfiles, now it has the current Date as value.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14523 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/talkfile.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/talkfile.cpp b/rbutil/rbutilqt/talkfile.cpp
index dfe9485018..5b8bb3f175 100644
--- a/rbutil/rbutilqt/talkfile.cpp
+++ b/rbutil/rbutilqt/talkfile.cpp
@@ -133,6 +133,7 @@ bool TalkFileCreator::createTalkFiles(ProgressloggerInterface* logger)
}
}
+ QString now = QDate::currentDate().toString("yyyyMMdd");
if(m_removeWav)
{
QFile wavfile(wavfilename);
@@ -140,9 +141,9 @@ bool TalkFileCreator::createTalkFiles(ProgressloggerInterface* logger)
installlog.remove(wavfilename);
}
else
- installlog.setValue(wavfilename.remove(m_mountpoint),installlog.value(wavfilename,0).toInt()+1);
+ installlog.setValue(wavfilename.remove(m_mountpoint),now);
- installlog.setValue(filename.remove(m_mountpoint),installlog.value(filename,0).toInt()+1);
+ installlog.setValue(filename.remove(m_mountpoint),now);
it.next();
}