mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Add some more bootloader install progress messages and call processEvents() more often before performing player disk accesses.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19724 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f5ab7c028e
commit
c1b4745d7c
6 changed files with 16 additions and 0 deletions
|
|
@ -82,6 +82,9 @@ void BootloaderInstallSansa::installStage2(void)
|
|||
struct sansa_t sansa;
|
||||
sansa_scan(&sansa);
|
||||
|
||||
emit logItem(tr("Installing Rockbox bootloader"), LOGINFO);
|
||||
QCoreApplication::processEvents();
|
||||
|
||||
if(sansa_open(&sansa, 0) < 0) {
|
||||
emit logItem(tr("could not open Sansa"), LOGERROR);
|
||||
emit done(true);
|
||||
|
|
@ -146,6 +149,9 @@ bool BootloaderInstallSansa::uninstall(void)
|
|||
{
|
||||
struct sansa_t sansa;
|
||||
|
||||
emit logItem(tr("Uninstalling bootloader"), LOGINFO);
|
||||
QCoreApplication::processEvents();
|
||||
|
||||
if(sansa_scan(&sansa) != 1) {
|
||||
emit logItem(tr("Can't find Sansa"), LOGERROR);
|
||||
emit done(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue