summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/installtalkwindow.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/installtalkwindow.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/installtalkwindow.cpp')
-rw-r--r--rbutil/rbutilqt/installtalkwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/installtalkwindow.cpp b/rbutil/rbutilqt/installtalkwindow.cpp
index 2fa69b7195..4fd1fb15f1 100644
--- a/rbutil/rbutilqt/installtalkwindow.cpp
+++ b/rbutil/rbutilqt/installtalkwindow.cpp
@@ -114,7 +114,7 @@ void InstallTalkWindow::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!"));
@@ -123,7 +123,7 @@ void InstallTalkWindow::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!"));
}