summaryrefslogtreecommitdiff
path: root/src/downloadmanager.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-05-22 18:16:56 +0200
committerTannin <devnull@localhost>2013-05-22 18:16:56 +0200
commitf0ba6ce95c1f30524453ce996fa536a888f018da (patch)
treeff6fc7ad1de0e4813a0485cc7ab90baf23c51595 /src/downloadmanager.cpp
parent45f6cd21a2c730b9dea322b0dba30120cdc40521 (diff)
- added NCC to repository
- deleting files from download manager now moves them to recycle bin instead of deleting permanentyl - cleanup in installation manager - ini editor (old) can now be configured to open files in external editor - bugfix: .net check in ncc installer was broken - bugfix: mod-overwrite dialog wasn't displayed for complex installers
Diffstat (limited to 'src/downloadmanager.cpp')
-rw-r--r--src/downloadmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/downloadmanager.cpp b/src/downloadmanager.cpp
index aa6ba12b..3aeb9429 100644
--- a/src/downloadmanager.cpp
+++ b/src/downloadmanager.cpp
@@ -334,13 +334,13 @@ void DownloadManager::removeFile(int index, bool deleteFile)
}
if (deleteFile) {
- if (!shellDelete(QStringList(filePath), NULL)) {
+ if (!shellDelete(QStringList(filePath), true)) {
reportError(tr("failed to delete %1").arg(filePath));
return;
}
QFile metaFile(filePath.append(".meta"));
- if (metaFile.exists() && !metaFile.remove()) {
+ if (metaFile.exists() && !shellDelete(QStringList(filePath), true)) {
reportError(tr("failed to delete meta file for %1").arg(filePath));
}
} else {