mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-13 23:22:34 -05:00
Use full version string for voicefile version.
Change-Id: If9a179b0fcb707efb32590c8914eccdb81ee27df
This commit is contained in:
parent
6de59442a5
commit
9b5d6679b8
1 changed files with 4 additions and 3 deletions
|
|
@ -57,15 +57,16 @@ bool VoiceFileCreator::createVoiceFile()
|
|||
|
||||
QString target = info.target();
|
||||
QString features = info.features();
|
||||
QString version = info.version();
|
||||
m_targetid = info.targetID().toInt();
|
||||
m_versionstring = version.left(version.indexOf("-")).remove("r");
|
||||
m_versionstring = info.version();
|
||||
QString version = m_versionstring.left(m_versionstring.indexOf("-")).remove("r");
|
||||
qDebug() << m_versionstring;
|
||||
|
||||
//prepare download url
|
||||
QString genlang = SystemInfo::value(SystemInfo::GenlangUrl).toString();
|
||||
genlang.replace("%LANG%", m_lang);
|
||||
genlang.replace("%TARGET%", target);
|
||||
genlang.replace("%REVISION%", m_versionstring);
|
||||
genlang.replace("%REVISION%", version);
|
||||
genlang.replace("%FEATURES%", features);
|
||||
QUrl genlangUrl(genlang);
|
||||
qDebug() << "[VoiceFileCreator] downloading " << genlangUrl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue