summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/configure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/configure.cpp')
-rw-r--r--rbutil/rbutilqt/configure.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp
index 872fcfaa84..470a5a5d6b 100644
--- a/rbutil/rbutilqt/configure.cpp
+++ b/rbutil/rbutilqt/configure.cpp
@@ -22,7 +22,7 @@
#include "configure.h"
#include "autodetection.h"
#include "ui_configurefrm.h"
-#include "encoders.h"
+#include "encoderbase.h"
#include "ttsbase.h"
#include "system.h"
#include "encttscfggui.h"
@@ -40,6 +40,8 @@
#endif
#include "rbutilqt.h"
+#include "systrace.h"
+
#define DEFAULT_LANG "English (en)"
#define DEFAULT_LANG_CODE "en"
@@ -436,10 +438,10 @@ void Config::updateEncState()
QString devname = ui.treeDevices->selectedItems().at(0)->data(0, Qt::UserRole).toString();
QString encoder = SystemInfo::platformValue(devname,
SystemInfo::CurEncoder).toString();
- ui.encoderName->setText(EncBase::getEncoderName(SystemInfo::platformValue(devname,
+ ui.encoderName->setText(EncoderBase::getEncoderName(SystemInfo::platformValue(devname,
SystemInfo::CurEncoder).toString()));
- EncBase* enc = EncBase::getEncoder(this,encoder);
+ EncoderBase* enc = EncoderBase::getEncoder(this,encoder);
if(enc->configOk())
{
@@ -893,13 +895,13 @@ void Config::configEnc()
QString devname = ui.treeDevices->selectedItems().at(0)->data(0, Qt::UserRole).toString();
QString encoder = SystemInfo::platformValue(devname,
SystemInfo::CurEncoder).toString();
- ui.encoderName->setText(EncBase::getEncoderName(SystemInfo::platformValue(devname,
+ ui.encoderName->setText(EncoderBase::getEncoderName(SystemInfo::platformValue(devname,
SystemInfo::CurEncoder).toString()));
- EncBase* enc = EncBase::getEncoder(this,encoder);
+ EncoderBase* enc = EncoderBase::getEncoder(this,encoder);
- EncTtsCfgGui gui(this,enc,EncBase::getEncoderName(encoder));
+ EncTtsCfgGui gui(this,enc,EncoderBase::getEncoderName(encoder));
gui.exec();
updateEncState();