diff options
Diffstat (limited to 'rbutil/rbutilqt/base/uninstall.cpp')
-rw-r--r-- | rbutil/rbutilqt/base/uninstall.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/uninstall.cpp b/rbutil/rbutilqt/base/uninstall.cpp index e28738b95b..15ada35c5e 100644 --- a/rbutil/rbutilqt/base/uninstall.cpp +++ b/rbutil/rbutilqt/base/uninstall.cpp | |||
@@ -49,7 +49,7 @@ void Uninstaller::uninstall(ProgressloggerInterface* dp) | |||
49 | 49 | ||
50 | for(int i=0; i< uninstallSections.size() ; i++) | 50 | for(int i=0; i< uninstallSections.size() ; i++) |
51 | { | 51 | { |
52 | m_dp->addItem(tr("Uninstalling ") + uninstallSections.at(i) + "...",LOGINFO); | 52 | m_dp->addItem(tr("Uninstalling %1...").arg(uninstallSections.at(i)), LOGINFO); |
53 | QCoreApplication::processEvents(); | 53 | QCoreApplication::processEvents(); |
54 | // create list of all other install sections | 54 | // create list of all other install sections |
55 | QStringList sections = installlog.childGroups(); | 55 | QStringList sections = installlog.childGroups(); |
@@ -80,7 +80,8 @@ void Uninstaller::uninstall(ProgressloggerInterface* dp) | |||
80 | if(toDelete.isFile()) // if it is a file remove it | 80 | if(toDelete.isFile()) // if it is a file remove it |
81 | { | 81 | { |
82 | if(deleteFile && !QFile::remove(toDelete.filePath())) | 82 | if(deleteFile && !QFile::remove(toDelete.filePath())) |
83 | m_dp->addItem(tr("Could not delete: ")+ toDelete.filePath(),LOGWARNING); | 83 | m_dp->addItem(tr("Could not delete %1") |
84 | .arg(toDelete.filePath()),LOGWARNING); | ||
84 | installlog.remove(toDeleteList.at(j)); | 85 | installlog.remove(toDeleteList.at(j)); |
85 | qDebug() << "deleted: " << toDelete.filePath() ; | 86 | qDebug() << "deleted: " << toDelete.filePath() ; |
86 | } | 87 | } |