mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
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:
parent
b93621d2ae
commit
39dc7cdb49
1 changed files with 3 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue