mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 13:01:42 +00:00
parent
2de0cd6e25
commit
a8ca0de9f8
1 changed files with 3 additions and 1 deletions
|
@ -1193,16 +1193,18 @@ void COperationDialog::deleteComponentsDownloadedFiles()
|
||||||
QDir dir(path);
|
QDir dir(path);
|
||||||
|
|
||||||
QStringList filter;
|
QStringList filter;
|
||||||
|
filter << "*.log";
|
||||||
filter << "*.7z";
|
filter << "*.7z";
|
||||||
filter << "*.bnp";
|
filter << "*.bnp";
|
||||||
filter << "*.zip";
|
filter << "*.zip";
|
||||||
filter << "*.part";
|
filter << "*.part";
|
||||||
|
filter << "ryzom_installer_uninstalling_old_client";
|
||||||
|
|
||||||
QStringList files = dir.entryList(filter, QDir::Files);
|
QStringList files = dir.entryList(filter, QDir::Files);
|
||||||
|
|
||||||
foreach(const QString &file, files)
|
foreach(const QString &file, files)
|
||||||
{
|
{
|
||||||
if (!QFile::remove(file))
|
if (!QFile::remove(dir.filePath(file)))
|
||||||
{
|
{
|
||||||
qDebug() << "Unable to delete" << file;
|
qDebug() << "Unable to delete" << file;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue