diff options
Diffstat (limited to 'rbutil/rbutilqt/base/voicefile.cpp')
-rw-r--r-- | rbutil/rbutilqt/base/voicefile.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/voicefile.cpp b/rbutil/rbutilqt/base/voicefile.cpp index c4edac64b9..98ab96b8ab 100644 --- a/rbutil/rbutilqt/base/voicefile.cpp +++ b/rbutil/rbutilqt/base/voicefile.cpp | |||
@@ -21,7 +21,7 @@ | |||
21 | #include "utils.h" | 21 | #include "utils.h" |
22 | #include "rockboxinfo.h" | 22 | #include "rockboxinfo.h" |
23 | #include "rbsettings.h" | 23 | #include "rbsettings.h" |
24 | #include "systeminfo.h" | 24 | #include "playerbuildinfo.h" |
25 | #include "ziputil.h" | 25 | #include "ziputil.h" |
26 | #include "Logger.h" | 26 | #include "Logger.h" |
27 | 27 | ||
@@ -148,7 +148,8 @@ bool VoiceFileCreator::createVoiceFile() | |||
148 | // genlang output as previously from the webserver. | 148 | // genlang output as previously from the webserver. |
149 | 149 | ||
150 | // prepare download url | 150 | // prepare download url |
151 | QString genlang = SystemInfo::value(SystemInfo::GenlangUrl).toString(); | 151 | QString genlang = PlayerBuildInfo::instance()->value( |
152 | PlayerBuildInfo::GenlangUrl).toString(); | ||
152 | genlang.replace("%LANG%", m_lang); | 153 | genlang.replace("%LANG%", m_lang); |
153 | genlang.replace("%TARGET%", target); | 154 | genlang.replace("%TARGET%", target); |
154 | genlang.replace("%REVISION%", version); | 155 | genlang.replace("%REVISION%", version); |