mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
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
This commit is contained in:
parent
6ef094c1a9
commit
97176d444e
1 changed files with 2 additions and 1 deletions
|
|
@ -57,8 +57,9 @@ void Uninstaller::uninstall(void)
|
|||
installlog.endGroup();
|
||||
|
||||
// iterate over all entries
|
||||
for(int j =0; j < toDeleteList.size(); j++ )
|
||||
for(int j = 0; j < toDeleteList.size(); j++ )
|
||||
{
|
||||
emit logProgress(j, toDeleteList.size());
|
||||
// check if current file is in use by another section
|
||||
bool deleteFile = true;
|
||||
for(int s = 0; s < sections.size(); s++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue