summaryrefslogtreecommitdiff
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-05-23 22:59:56 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-05-23 22:59:56 +0200
commit9b5d6679b8737ef23311beaa2fb14ffec905014d (patch)
tree9940204d93db724ba98f2acd65968acb4e39a20b /rbutil
parent6de59442a50f840686baad96c68d6e215299b0d4 (diff)
Use full version string for voicefile version.
Change-Id: If9a179b0fcb707efb32590c8914eccdb81ee27df
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/base/voicefile.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/base/voicefile.cpp b/rbutil/rbutilqt/base/voicefile.cpp
index 871dd287b1..ad04bd5dbb 100644
--- a/rbutil/rbutilqt/base/voicefile.cpp
+++ b/rbutil/rbutilqt/base/voicefile.cpp
@@ -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;