mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Replaced QFile::remove with FS::deletePath
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
5099061a5c
commit
031a9f4738
12 changed files with 29 additions and 37 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue