mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
rbutil: fix complete install: make sure signals are connected before calling the function emiting the signal.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16995 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a0e6641c10
commit
1b637754fa
1 changed files with 5 additions and 3 deletions
|
|
@ -470,10 +470,10 @@ bool RbUtilQt::installAuto()
|
|||
if(!settings->cacheDisabled())
|
||||
installer->setCache(true);
|
||||
installer->setMountPoint(settings->mountpoint());
|
||||
installer->install(logger);
|
||||
|
||||
connect(installer, SIGNAL(done(bool)), this, SLOT(installdone(bool)));
|
||||
|
||||
installer->install(logger);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -606,7 +606,7 @@ void RbUtilQt::installFontsBtn()
|
|||
bool RbUtilQt::installFontsAuto()
|
||||
{
|
||||
installFonts();
|
||||
connect(installer, SIGNAL(done(bool)), this, SLOT(installdone(bool)));
|
||||
|
||||
return !m_error;
|
||||
}
|
||||
|
||||
|
|
@ -621,6 +621,8 @@ void RbUtilQt::installFonts()
|
|||
installer->setMountPoint(settings->mountpoint());
|
||||
if(!settings->cacheDisabled())
|
||||
installer->setCache(true);
|
||||
|
||||
connect(installer, SIGNAL(done(bool)), this, SLOT(installdone(bool)));
|
||||
installer->install(logger);
|
||||
}
|
||||
|
||||
|
|
@ -682,7 +684,6 @@ void RbUtilQt::installDoomBtn()
|
|||
bool RbUtilQt::installDoomAuto()
|
||||
{
|
||||
installDoom();
|
||||
connect(installer, SIGNAL(done(bool)), this, SLOT(installdone(bool)));
|
||||
return !m_error;
|
||||
}
|
||||
|
||||
|
|
@ -703,6 +704,7 @@ void RbUtilQt::installDoom()
|
|||
installer->setMountPoint(settings->mountpoint());
|
||||
if(!settings->cacheDisabled())
|
||||
installer->setCache(true);
|
||||
connect(installer, SIGNAL(done(bool)), this, SLOT(installdone(bool)));
|
||||
installer->install(logger);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue