summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/createvoicewindow.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-02-06 21:51:35 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-02-06 21:51:35 +0000
commitc789f3a8a247f1884daa96dc6d6270dc2fedfb30 (patch)
tree40cc1d06fadfb76b9257fa551fdc294468ca25b2 /rbutil/rbutilqt/createvoicewindow.cpp
parentcd31193948b7f169c8444ba1a5318a67df05ea36 (diff)
downloadrockbox-c789f3a8a247f1884daa96dc6d6270dc2fedfb30.tar.gz
rockbox-c789f3a8a247f1884daa96dc6d6270dc2fedfb30.tar.bz2
rockbox-c789f3a8a247f1884daa96dc6d6270dc2fedfb30.zip
Save the internal name for tts / encoder in the configuration file, not the displayed nice name. Additionally, kill a few warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16233 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/createvoicewindow.cpp')
-rw-r--r--rbutil/rbutilqt/createvoicewindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/createvoicewindow.cpp b/rbutil/rbutilqt/createvoicewindow.cpp
index 6d760f14fe..5375182fd9 100644
--- a/rbutil/rbutilqt/createvoicewindow.cpp
+++ b/rbutil/rbutilqt/createvoicewindow.cpp
@@ -94,7 +94,7 @@ void CreateVoiceWindow::setSettings(RbSettings* sett)
TTSBase* tts = getTTS(ttsName);
tts->setCfg(settings);
if(tts->configOk())
- ui.labelTtsProfile->setText(tr("Selected TTS engine : <b>%1</b>").arg(ttsName));
+ ui.labelTtsProfile->setText(tr("Selected TTS engine : <b>%1</b>").arg(getTTSName(ttsName)));
else
ui.labelTtsProfile->setText(tr("Selected TTS Engine: <b>%1</b>").arg("Invalid TTS configuration!"));
@@ -104,7 +104,7 @@ void CreateVoiceWindow::setSettings(RbSettings* sett)
if(enc != NULL) {
enc->setCfg(settings);
if(enc->configOk())
- ui.labelEncProfile->setText(tr("Selected Encoder: <b>%1</b>").arg(encoder));
+ ui.labelEncProfile->setText(tr("Selected Encoder: <b>%1</b>").arg(getEncoderName(encoder)));
else
ui.labelEncProfile->setText(tr("Selected Encoder: <b>%1</b>").arg("Invalid encoder configuration!"));
}