Replaced QFile::remove with FS::deletePath

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2024-02-10 11:03:51 +02:00
parent 5099061a5c
commit 031a9f4738
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
12 changed files with 29 additions and 37 deletions

View file

@ -322,7 +322,7 @@ const MMCIcon* IconList::icon(const QString& key) const
bool IconList::deleteIcon(const QString& key)
{
return iconFileExists(key) && QFile::remove(icon(key)->getFilePath());
return iconFileExists(key) && FS::deletePath(icon(key)->getFilePath());
}
bool IconList::trashIcon(const QString& key)