Update launcher/icons/IconList.cpp

Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: leo78913 <leo3758@riseup.net>
This commit is contained in:
leo78913 2022-12-10 10:31:30 -03:00 committed by GitHub
parent ab2f3bb5bc
commit 6cb857b895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -357,7 +357,7 @@ bool IconList::deleteIcon(const QString &key)
if (!iconFileExists(key))
return false;
return QFile::remove(icon(key)->m_images[IconType::FileBased].filename);
return QFile::remove(icon(key)->getFilePath());
}
bool IconList::trashIcon(const QString &key)