summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/createvoicewindow.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-03-14 18:27:39 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-03-14 18:27:39 +0000
commit77e036af7d26435eae217274fe301bbb2fe2096f (patch)
treebbf024a9fc8b12e1d40635f59fd978bab671e253 /rbutil/rbutilqt/createvoicewindow.cpp
parentda6b43b25b8f46549b0b99694ef66f2f3be03377 (diff)
downloadrockbox-77e036af7d26435eae217274fe301bbb2fe2096f.tar.gz
rockbox-77e036af7d26435eae217274fe301bbb2fe2096f.tar.bz2
rockbox-77e036af7d26435eae217274fe301bbb2fe2096f.zip
when changing settings from the Talk and Voice window also update the main widgets settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16668 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/createvoicewindow.cpp')
-rw-r--r--rbutil/rbutilqt/createvoicewindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/createvoicewindow.cpp b/rbutil/rbutilqt/createvoicewindow.cpp
index 2698732afb..35582297c8 100644
--- a/rbutil/rbutilqt/createvoicewindow.cpp
+++ b/rbutil/rbutilqt/createvoicewindow.cpp
@@ -36,7 +36,7 @@ void CreateVoiceWindow::change()
Config *cw = new Config(this,4);
cw->setSettings(settings);
cw->show();
- connect(cw, SIGNAL(settingsUpdated()), this, SLOT(settingsUpdated()));
+ connect(cw, SIGNAL(settingsUpdated()), this, SLOT(updateSettings()));
}
void CreateVoiceWindow::accept()
@@ -70,13 +70,13 @@ void CreateVoiceWindow::accept()
void CreateVoiceWindow::setSettings(RbSettings* sett)
{
settings = sett;
- settingsUpdated();
+ updateSettings();
}
/** @brief update displayed settings
*/
-void CreateVoiceWindow::settingsUpdated(void)
+void CreateVoiceWindow::updateSettings(void)
{
// fill in language combobox
QStringList languages = settings->allLanguages();
@@ -118,7 +118,7 @@ void CreateVoiceWindow::settingsUpdated(void)
else
ui.labelEncProfile->setText(tr("Selected Encoder: <b>%1</b>").arg("Invalid encoder configuration!"));
ui.wavtrimthreshold->setValue(settings->wavtrimTh());
-
+ emit settingsUpdated();
}