summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/createvoicewindow.cpp
diff options
context:
space:
mode:
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();
}