summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2022-04-14 22:37:45 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2022-04-14 22:37:45 +0200
commit97176d444eb377aa4efe83430d87eae0afb793d7 (patch)
tree4f2cff6a254ae075dcbdee5d6132941d206c04ab /utils
parent6ef094c1a91d5ae50c56c8192f617f55eea25751 (diff)
downloadrockbox-97176d444eb377aa4efe83430d87eae0afb793d7.tar.gz
rockbox-97176d444eb377aa4efe83430d87eae0afb793d7.zip
rbutil: Use progress bar on uninstall.
When uninstalling parts with lots of small files the process can take quite some time. Update the progress accordingly. Change-Id: Iecc4553b36abbc1cf9652a325ccb29b62a7fc4cc
Diffstat (limited to 'utils')
-rw-r--r--utils/rbutilqt/base/uninstall.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/rbutilqt/base/uninstall.cpp b/utils/rbutilqt/base/uninstall.cpp
index 5ab670a031..6b4e08b55a 100644
--- a/utils/rbutilqt/base/uninstall.cpp
+++ b/utils/rbutilqt/base/uninstall.cpp
@@ -57,8 +57,9 @@ void Uninstaller::uninstall(void)
57 installlog.endGroup(); 57 installlog.endGroup();
58 58
59 // iterate over all entries 59 // iterate over all entries
60 for(int j =0; j < toDeleteList.size(); j++ ) 60 for(int j = 0; j < toDeleteList.size(); j++ )
61 { 61 {
62 emit logProgress(j, toDeleteList.size());
62 // check if current file is in use by another section 63 // check if current file is in use by another section
63 bool deleteFile = true; 64 bool deleteFile = true;
64 for(int s = 0; s < sections.size(); s++) 65 for(int s = 0; s < sections.size(); s++)