rbutil: move many more connect calls, mainly for safety.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16997 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Wenger 2008-04-06 19:50:38 +00:00
parent 94d65d837c
commit b235b1306e
7 changed files with 31 additions and 19 deletions

View file

@ -244,9 +244,9 @@ void RbUtilQt::configDialog()
{
Config *cw = new Config(this);
cw->setSettings(settings);
cw->show();
connect(cw, SIGNAL(settingsUpdated()), this, SLOT(updateSettings()));
connect(cw, SIGNAL(settingsUpdated()), this, SLOT(downloadInfo()));
cw->show();
}
@ -500,8 +500,7 @@ void RbUtilQt::install()
bool RbUtilQt::installBootloaderAuto()
{
installBootloader();
connect(blinstaller,SIGNAL(done(bool)),this,SLOT(installdone(bool)));
return !m_error;
return !m_error;
}
void RbUtilQt::installBootloaderBtn()
@ -514,7 +513,8 @@ void RbUtilQt::installBootloaderBtn()
// create logger
logger = new ProgressLoggerGui(this);
logger->show();
connect(blinstaller,SIGNAL(done(bool)),this,SLOT(installdone(bool)));
installBootloader();
}
@ -723,9 +723,10 @@ void RbUtilQt::createTalkFiles(void)
if(chkConfig(true)) return;
InstallTalkWindow *installWindow = new InstallTalkWindow(this);
installWindow->setSettings(settings);
installWindow->show();
connect(installWindow, SIGNAL(settingsUpdated()), this, SLOT(downloadInfo()));
connect(installWindow, SIGNAL(settingsUpdated()), this, SLOT(updateSettings()));
installWindow->show();
}
@ -734,10 +735,10 @@ void RbUtilQt::createVoiceFile(void)
if(chkConfig(true)) return;
CreateVoiceWindow *installWindow = new CreateVoiceWindow(this);
installWindow->setSettings(settings);
installWindow->show();
connect(installWindow, SIGNAL(settingsUpdated()), this, SLOT(downloadInfo()));
connect(installWindow, SIGNAL(settingsUpdated()), this, SLOT(updateSettings()));
installWindow->show();
}
void RbUtilQt::uninstall(void)