summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/createvoicewindow.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-12 23:35:16 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-12 23:35:16 +0200
commit47ea5b65b28dcc95e4fe06b1a88bd70a2d1bb06b (patch)
treee1f81e1b5ca163f0647afac47a73e38f99ea3042 /rbutil/rbutilqt/createvoicewindow.cpp
parent4ea3f9ff2a0bcfda4e91c402447fa7a1a8d717f7 (diff)
downloadrockbox-47ea5b65b28dcc95e4fe06b1a88bd70a2d1bb06b.tar.gz
rockbox-47ea5b65b28dcc95e4fe06b1a88bd70a2d1bb06b.tar.bz2
rockbox-47ea5b65b28dcc95e4fe06b1a88bd70a2d1bb06b.zip
Remove encoder display from voice / talk dialogs.
The encoder is fixed depending on the selected target, so there is no real benefit in displaying it in voice and talkfile generation dialogs. Change-Id: I1389800d04fcdac558b243368acfee6b1b64afc9
Diffstat (limited to 'rbutil/rbutilqt/createvoicewindow.cpp')
-rw-r--r--rbutil/rbutilqt/createvoicewindow.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/rbutil/rbutilqt/createvoicewindow.cpp b/rbutil/rbutilqt/createvoicewindow.cpp
index a45425a0ef..abae0457b5 100644
--- a/rbutil/rbutilqt/createvoicewindow.cpp
+++ b/rbutil/rbutilqt/createvoicewindow.cpp
@@ -100,20 +100,6 @@ void CreateVoiceWindow::updateSettings(void)
ui.labelTtsProfile->setText(tr("Selected TTS engine: <b>%1</b>")
.arg("Invalid TTS configuration!"));
- QString encoder = SystemInfo::value(SystemInfo::CurEncoder).toString();
- // only proceed if encoder setting is set
- EncoderBase* enc = EncoderBase::getEncoder(this,encoder);
- if(enc != NULL) {
- if(enc->configOk())
- ui.labelEncProfile->setText(tr("Selected encoder: <b>%1</b>")
- .arg(EncoderBase::getEncoderName(encoder)));
- else
- ui.labelEncProfile->setText(tr("Selected encoder: <b>%1</b>")
- .arg("Invalid encoder configuration!"));
- }
- else
- ui.labelEncProfile->setText(tr("Selected encoder: <b>%1</b>")
- .arg("Invalid encoder configuration!"));
ui.wavtrimthreshold->setValue(RbSettings::value(RbSettings::WavtrimThreshold).toInt());
emit settingsUpdated();
}