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
This commit is contained in:
Dominik Wenger 2007-08-29 17:54:52 +00:00
parent b93621d2ae
commit 39dc7cdb49

View file

@ -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();
}