diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-03-14 18:27:39 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-03-14 18:27:39 +0000 |
commit | 77e036af7d26435eae217274fe301bbb2fe2096f (patch) | |
tree | bbf024a9fc8b12e1d40635f59fd978bab671e253 /rbutil/rbutilqt/installtalkwindow.cpp | |
parent | da6b43b25b8f46549b0b99694ef66f2f3be03377 (diff) |
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/installtalkwindow.cpp')
-rw-r--r-- | rbutil/rbutilqt/installtalkwindow.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/installtalkwindow.cpp b/rbutil/rbutilqt/installtalkwindow.cpp index de57384b49..158365c460 100644 --- a/rbutil/rbutilqt/installtalkwindow.cpp +++ b/rbutil/rbutilqt/installtalkwindow.cpp @@ -68,7 +68,7 @@ void InstallTalkWindow::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 InstallTalkWindow::accept() @@ -109,11 +109,11 @@ void InstallTalkWindow::accept() void InstallTalkWindow::setSettings(RbSettings* sett) { settings = sett; - settingsUpdated(); + updateSettings(); } -void InstallTalkWindow::settingsUpdated(void) +void InstallTalkWindow::updateSettings(void) { QString ttsName = settings->curTTS(); TTSBase* tts = TTSBase::getTTS(ttsName); @@ -136,5 +136,6 @@ void InstallTalkWindow::settingsUpdated(void) ui.labelEncProfile->setText(tr("Selected Encoder: <b>%1</b>").arg("Invalid encoder configuration!")); setTalkFolder(settings->lastTalkedFolder()); + emit settingsUpdated(); } |