summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/installtalkwindow.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-03-01 13:42:14 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-03-01 13:42:14 +0000
commit05f24a1ec49d63100bf5eaa2d83b5bad4a4f61df (patch)
tree21ade9d518a94eb977b7f3c9916ea5add36e3080 /rbutil/rbutilqt/installtalkwindow.cpp
parentdfac61e89cf93eb968cc16154f6d643fc5b1360e (diff)
downloadrockbox-05f24a1ec49d63100bf5eaa2d83b5bad4a4f61df.tar.gz
rockbox-05f24a1ec49d63100bf5eaa2d83b5bad4a4f61df.tar.bz2
rockbox-05f24a1ec49d63100bf5eaa2d83b5bad4a4f61df.zip
Fix voicefile / talkfile generation windows not updating the displayed settings if the user used the "change" button.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16462 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/installtalkwindow.cpp')
-rw-r--r--rbutil/rbutilqt/installtalkwindow.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/installtalkwindow.cpp b/rbutil/rbutilqt/installtalkwindow.cpp
index 59ec12fa11..de57384b49 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, SIGNAL(settingsUpdated()));
+ connect(cw, SIGNAL(settingsUpdated()), this, SLOT(settingsUpdated()));
}
void InstallTalkWindow::accept()
@@ -109,7 +109,12 @@ void InstallTalkWindow::accept()
void InstallTalkWindow::setSettings(RbSettings* sett)
{
settings = sett;
-
+ settingsUpdated();
+}
+
+
+void InstallTalkWindow::settingsUpdated(void)
+{
QString ttsName = settings->curTTS();
TTSBase* tts = TTSBase::getTTS(ttsName);
tts->setCfg(settings);
@@ -131,6 +136,5 @@ void InstallTalkWindow::setSettings(RbSettings* sett)
ui.labelEncProfile->setText(tr("Selected Encoder: <b>%1</b>").arg("Invalid encoder configuration!"));
setTalkFolder(settings->lastTalkedFolder());
-
}