summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-13 21:53:53 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-22 14:43:01 +0100
commitad37655687cd4861681e561b2a84fabb5c307327 (patch)
tree1cdc0a1e3fd5c810b8af288907395ee00cdaf366 /rbutil/rbutilqt/rbutilqt.cpp
parent6b3b4df6f64f1523b76d5f4f26c568ffc208a899 (diff)
downloadrockbox-ad37655687cd4861681e561b2a84fabb5c307327.tar.gz
rockbox-ad37655687cd4861681e561b2a84fabb5c307327.tar.bz2
rockbox-ad37655687cd4861681e561b2a84fabb5c307327.zip
rbutil: Use pattern replacement for SystemInfo build type.
Use pattern replacement for lookup instead of expanded values. Will allow simplifying things later for better handling of different build types. Change-Id: Iaad67a6c8654d27c3206cf95a379acab169565bc
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.cpp')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index d013a7cb58..597509cc78 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -483,7 +483,8 @@ void RbUtilQt::installVoice()
return;
}
else {
- voiceurl = SystemInfo::value(SystemInfo::ReleaseVoiceUrl).toString();
+ voiceurl = SystemInfo::value(SystemInfo::VoiceUrl,
+ SystemInfo::BuildRelease).toString();
logversion = installInfo.release();
}
if(QMessageBox::question(this, tr("Confirm Installation"),