forked from len0rd/rockbox
rbutil: split RbSettings. use Stable/unstable status from server.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24331 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7fe60537d4
commit
6128bd14e9
18 changed files with 620 additions and 409 deletions
|
|
@ -20,6 +20,7 @@
|
|||
#include "voicefile.h"
|
||||
#include "utils.h"
|
||||
#include "rbsettings.h"
|
||||
#include "systeminfo.h"
|
||||
|
||||
VoiceFileCreator::VoiceFileCreator(QObject* parent) :QObject(parent)
|
||||
{
|
||||
|
|
@ -61,7 +62,7 @@ bool VoiceFileCreator::createVoiceFile()
|
|||
version = version.left(version.indexOf("-")).remove("r");
|
||||
|
||||
//prepare download url
|
||||
QUrl genlangUrl = RbSettings::value(RbSettings::GenlangUrl).toString()
|
||||
QUrl genlangUrl = SystemInfo::value(SystemInfo::GenlangUrl).toString()
|
||||
+"?lang=" + m_lang + "&t=" + target + "&rev=" + version + "&f=" + features;
|
||||
|
||||
qDebug() << "downloading " << genlangUrl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue