From 77e036af7d26435eae217274fe301bbb2fe2096f Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Fri, 14 Mar 2008 18:27:39 +0000 Subject: 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 --- rbutil/rbutilqt/installtalkwindow.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'rbutil/rbutilqt/installtalkwindow.cpp') 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: %1").arg("Invalid encoder configuration!")); setTalkFolder(settings->lastTalkedFolder()); + emit settingsUpdated(); } -- cgit v1.2.3