From a8ca0de9f824e2a8590446ed354438358de808ca Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 20 Sep 2016 21:57:41 +0200 Subject: [PATCH] Changed: Fix some files not deleted, see #279 --HG-- branch : develop --- .../tools/client/ryzom_installer/src/operationdialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp index 23ba8c761..36ea6d6f2 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp @@ -1193,16 +1193,18 @@ void COperationDialog::deleteComponentsDownloadedFiles() QDir dir(path); QStringList filter; + filter << "*.log"; filter << "*.7z"; filter << "*.bnp"; filter << "*.zip"; filter << "*.part"; + filter << "ryzom_installer_uninstalling_old_client"; QStringList files = dir.entryList(filter, QDir::Files); foreach(const QString &file, files) { - if (!QFile::remove(file)) + if (!QFile::remove(dir.filePath(file))) { qDebug() << "Unable to delete" << file; }