summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/createvoicewindow.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/createvoicewindow.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/createvoicewindow.cpp')
-rw-r--r--rbutil/rbutilqt/createvoicewindow.cpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/createvoicewindow.cpp b/rbutil/rbutilqt/createvoicewindow.cpp
index 843041fde7..2698732afb 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, SIGNAL(settingsUpdated()));
+ connect(cw, SIGNAL(settingsUpdated()), this, SLOT(settingsUpdated()));
}
void CreateVoiceWindow::accept()
@@ -58,7 +58,6 @@ void CreateVoiceWindow::accept()
voicecreator->setMountPoint(settings->mountpoint());
voicecreator->setTargetId(settings->curTargetId());
voicecreator->setLang(lang);
- voicecreator->setProxy(m_proxy);
voicecreator->setWavtrimThreshold(wvThreshold);
//start creating
@@ -66,11 +65,19 @@ void CreateVoiceWindow::accept()
}
-
+/** @brief set settings object
+ */
void CreateVoiceWindow::setSettings(RbSettings* sett)
{
settings = sett;
+ settingsUpdated();
+}
+
+/** @brief update displayed settings
+ */
+void CreateVoiceWindow::settingsUpdated(void)
+{
// fill in language combobox
QStringList languages = settings->allLanguages();
languages.sort();