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 ef6eb61ca5..498edbb057 100644 --- a/rbutil/rbutilqt/base/uninstall.cpp +++ b/rbutil/rbutilqt/base/uninstall.cpp | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <QtCore> | 19 | #include <QtCore> |
20 | #include "uninstall.h" | 20 | #include "uninstall.h" |
21 | #include "utils.h" | 21 | #include "utils.h" |
22 | #include "Logger.h" | ||
22 | 23 | ||
23 | Uninstaller::Uninstaller(QObject* parent,QString mountpoint): QObject(parent) | 24 | Uninstaller::Uninstaller(QObject* parent,QString mountpoint): QObject(parent) |
24 | { | 25 | { |
@@ -66,7 +67,7 @@ void Uninstaller::uninstall(void) | |||
66 | if(installlog.contains(toDeleteList.at(j))) | 67 | if(installlog.contains(toDeleteList.at(j))) |
67 | { | 68 | { |
68 | deleteFile = false; | 69 | deleteFile = false; |
69 | qDebug() << "[Uninstaller] file still in use:" << toDeleteList.at(j); | 70 | LOG_INFO() << "file still in use:" << toDeleteList.at(j); |
70 | } | 71 | } |
71 | installlog.endGroup(); | 72 | installlog.endGroup(); |
72 | } | 73 | } |
@@ -79,7 +80,7 @@ void Uninstaller::uninstall(void) | |||
79 | emit logItem(tr("Could not delete %1") | 80 | emit logItem(tr("Could not delete %1") |
80 | .arg(toDelete.filePath()), LOGWARNING); | 81 | .arg(toDelete.filePath()), LOGWARNING); |
81 | installlog.remove(toDeleteList.at(j)); | 82 | installlog.remove(toDeleteList.at(j)); |
82 | qDebug() << "[Uninstaller] deleted:" << toDelete.filePath(); | 83 | LOG_INFO() << "deleted:" << toDelete.filePath(); |
83 | } | 84 | } |
84 | else // if it is a dir, remember it for later deletion | 85 | else // if it is a dir, remember it for later deletion |
85 | { | 86 | { |