summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/uninstall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/uninstall.cpp')
-rw-r--r--rbutil/rbutilqt/uninstall.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/uninstall.cpp b/rbutil/rbutilqt/uninstall.cpp
index 4bd5c90485..fda802f445 100644
--- a/rbutil/rbutilqt/uninstall.cpp
+++ b/rbutil/rbutilqt/uninstall.cpp
@@ -49,6 +49,7 @@ void Uninstaller::uninstall(ProgressloggerInterface* dp)
for(int i=0; i< uninstallSections.size() ; i++)
{
m_dp->addItem(tr("Uninstalling ") + uninstallSections.at(i) + " ...",LOGINFO);
+ QCoreApplication::processEvents();
// create list of all other install sections
QStringList sections = installlog.childGroups();
sections.removeAt(sections.indexOf(uninstallSections.at(i)));
@@ -80,6 +81,7 @@ void Uninstaller::uninstall(ProgressloggerInterface* dp)
if(deleteFile && !QFile::remove(toDelete.filePath()))
m_dp->addItem(tr("Could not delete: ")+ toDelete.filePath(),LOGWARNING);
installlog.remove(toDeleteList.at(j));
+ qDebug() << "deleted: " << toDelete.filePath() ;
}
else // if it is a dir, remember it for later deletion
{
@@ -88,6 +90,7 @@ void Uninstaller::uninstall(ProgressloggerInterface* dp)
dirList << toDeleteList.at(j);
}
installlog.endGroup();
+ QCoreApplication::processEvents();
}
// delete the dirs
installlog.beginGroup(uninstallSections.at(i));