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:44 -03:00 committed by GitHub
parent 6cb857b895
commit 2d5820e910
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -365,7 +365,7 @@ bool IconList::trashIcon(const QString &key)
if (!iconFileExists(key)) if (!iconFileExists(key))
return false; return false;
return FS::trash(icon(key)->m_images[IconType::FileBased].filename, nullptr); return FS::trash(icon(key)->getFilePath(), nullptr);
} }
bool IconList::addThemeIcon(const QString& key) bool IconList::addThemeIcon(const QString& key)