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:
Dominik Riebeling 2022-04-14 22:37:45 +02:00
parent 6ef094c1a9
commit 97176d444e

View file

@ -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++)