summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/createvoicewindow.cpp
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2010-01-24 21:12:11 +0000
committerDominik Wenger <domonoky@googlemail.com>2010-01-24 21:12:11 +0000
commit6128bd14e949eb2a255910838b2707fa204f640e (patch)
tree5f4846551383edcc2e019ea459c952d935d9430a /rbutil/rbutilqt/createvoicewindow.cpp
parent7fe60537d41d65dce99e02f825191e1f04eebef1 (diff)
downloadrockbox-6128bd14e949eb2a255910838b2707fa204f640e.tar.gz
rockbox-6128bd14e949eb2a255910838b2707fa204f640e.tar.bz2
rockbox-6128bd14e949eb2a255910838b2707fa204f640e.zip
rbutil: split RbSettings. use Stable/unstable status from server.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24331 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/createvoicewindow.cpp')
-rw-r--r--rbutil/rbutilqt/createvoicewindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/createvoicewindow.cpp b/rbutil/rbutilqt/createvoicewindow.cpp
index 5beedd2f90..7fde1678a0 100644
--- a/rbutil/rbutilqt/createvoicewindow.cpp
+++ b/rbutil/rbutilqt/createvoicewindow.cpp
@@ -23,6 +23,7 @@
#include "browsedirtree.h"
#include "configure.h"
#include "rbsettings.h"
+#include "systeminfo.h"
CreateVoiceWindow::CreateVoiceWindow(QWidget *parent) : QDialog(parent)
{
@@ -72,7 +73,7 @@ void CreateVoiceWindow::accept()
void CreateVoiceWindow::updateSettings(void)
{
// fill in language combobox
- QStringList languages = RbSettings::languages();
+ QStringList languages = SystemInfo::languages();
languages.sort();
ui.comboLanguage->addItems(languages);
// set saved lang
@@ -99,7 +100,7 @@ void CreateVoiceWindow::updateSettings(void)
ui.labelTtsProfile->setText(tr("Selected TTS engine: <b>%1</b>")
.arg("Invalid TTS configuration!"));
- QString encoder = RbSettings::value(RbSettings::CurEncoder).toString();
+ QString encoder = SystemInfo::value(SystemInfo::CurEncoder).toString();
// only proceed if encoder setting is set
EncBase* enc = EncBase::getEncoder(this,encoder);
if(enc != NULL) {