summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
diff options
context:
space:
mode:
authorCástor Muñoz <cmvidal@gmail.com>2016-01-09 04:40:53 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2016-08-15 20:12:32 +0200
commite4af97300d5b08e48d9d282d5a7500cdfae4c251 (patch)
tree45800601c8ac0d6df2045e19767b569e59dc24d6 /rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
parent5a673d6df2125c5b17534e8ee9c143de9e3cd512 (diff)
downloadrockbox-e4af97300d5b08e48d9d282d5a7500cdfae4c251.tar.gz
rockbox-e4af97300d5b08e48d9d282d5a7500cdfae4c251.tar.bz2
rockbox-e4af97300d5b08e48d9d282d5a7500cdfae4c251.zip
rbutil: show progress bar during bootloader uninstall
Useful for targets that needs multi-stage uninstall. On current targets (with Uninstall capability) the progress is updated to 100% when bootloader uninstall is successfully finished. Change-Id: I61be1c4f5cfc2d2f35fa5005962be9703888447d
Diffstat (limited to 'rbutil/rbutilqt/base/bootloaderinstallsansa.cpp')
-rw-r--r--rbutil/rbutilqt/base/bootloaderinstallsansa.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp b/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
index 245e5525bb..5d56fe593a 100644
--- a/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
+++ b/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
@@ -194,6 +194,7 @@ bool BootloaderInstallSansa::uninstall(void)
if (sansa_delete_bootloader(&sansa)==0) {
emit logItem(tr("Successfully removed bootloader"), LOGOK);
logInstall(LogRemove);
+ emit logProgress(1, 1);
emit done(false);
sansa_close(&sansa);
return true;