diff options
-rw-r--r-- | rbutil/rbutilqt/voicefile.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/voicefile.cpp b/rbutil/rbutilqt/voicefile.cpp index f949839cf1..008a85505b 100644 --- a/rbutil/rbutilqt/voicefile.cpp +++ b/rbutil/rbutilqt/voicefile.cpp | |||
@@ -74,7 +74,7 @@ bool VoiceFileCreator::createVoiceFile(ProgressloggerInterface* logger) | |||
74 | { | 74 | { |
75 | version = line.remove("Version:").trimmed(); | 75 | version = line.remove("Version:").trimmed(); |
76 | version = version.left(version.indexOf("-")).remove(0,1); | 76 | version = version.left(version.indexOf("-")).remove(0,1); |
77 | } | 77 | } |
78 | } | 78 | } |
79 | info.close(); | 79 | info.close(); |
80 | 80 | ||
@@ -286,7 +286,14 @@ void VoiceFileCreator::downloadDone(bool error) | |||
286 | { | 286 | { |
287 | QFile::remove(mp3files.at(i)); | 287 | QFile::remove(mp3files.at(i)); |
288 | } | 288 | } |
289 | 289 | ||
290 | // Add Voice file to the install log | ||
291 | QSettings installlog(m_mountpoint + "/.rockbox/rbutil.log", QSettings::IniFormat, 0); | ||
292 | installlog.beginGroup("selfcreated Voice"); | ||
293 | installlog.setValue("/.rockbox/langs/" + m_lang + ".voice",QDate::currentDate().toString("yyyyMMdd")); | ||
294 | installlog.endGroup(); | ||
295 | installlog.sync(); | ||
296 | |||
290 | m_logger->setProgressMax(100); | 297 | m_logger->setProgressMax(100); |
291 | m_logger->setProgressValue(100); | 298 | m_logger->setProgressValue(100); |
292 | m_logger->addItem(tr("successfully created."),LOGOK); | 299 | m_logger->addItem(tr("successfully created."),LOGOK); |