summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-01-08 17:16:53 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-01-08 17:16:53 +0000
commitc1b4745d7c2f46bdeda432a8279aac01d47821fd (patch)
tree955395ea84d8418f9d91634f2dcc09bc2bdbaf19 /rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
parentf5ab7c028e5932049b1778a53ed59757d21bc31d (diff)
downloadrockbox-c1b4745d7c2f46bdeda432a8279aac01d47821fd.tar.gz
rockbox-c1b4745d7c2f46bdeda432a8279aac01d47821fd.tar.bz2
rockbox-c1b4745d7c2f46bdeda432a8279aac01d47821fd.zip
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
Diffstat (limited to 'rbutil/rbutilqt/base/bootloaderinstallsansa.cpp')
-rw-r--r--rbutil/rbutilqt/base/bootloaderinstallsansa.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp b/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
index eba607bd2b..a78f336144 100644
--- a/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
+++ b/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
@@ -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);