forked from len0rd/rockbox
rbutil: fix voice downloads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24758 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4c78ecaa5e
commit
963fdc340b
1 changed files with 2 additions and 2 deletions
|
|
@ -881,9 +881,9 @@ void RbUtilQt::installVoice()
|
||||||
installer = new ZipInstaller(this);
|
installer = new ZipInstaller(this);
|
||||||
|
|
||||||
QString voiceurl = SystemInfo::value(SystemInfo::VoiceUrl).toString();
|
QString voiceurl = SystemInfo::value(SystemInfo::VoiceUrl).toString();
|
||||||
|
QDate date = QDate::fromString(ServerInfo::value(ServerInfo::DailyDate).toString(),Qt::ISODate);
|
||||||
voiceurl += SystemInfo::value(SystemInfo::CurBuildserverModel).toString() + "-" +
|
voiceurl += SystemInfo::value(SystemInfo::CurBuildserverModel).toString() + "-" +
|
||||||
ServerInfo::value(ServerInfo::DailyDate).toString() + "-english.zip";
|
date.toString("yyyyMMdd") + "-english.zip";
|
||||||
qDebug() << "[RbUtil] voicefile URL:" << voiceurl;
|
qDebug() << "[RbUtil] voicefile URL:" << voiceurl;
|
||||||
|
|
||||||
installer->setUrl(voiceurl);
|
installer->setUrl(voiceurl);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue