From 2d5820e910476f7eab32ac5cd48cce18c0c5a1e5 Mon Sep 17 00:00:00 2001 From: leo78913 Date: Sat, 10 Dec 2022 10:31:44 -0300 Subject: [PATCH] Update launcher/icons/IconList.cpp Co-authored-by: flow Signed-off-by: leo78913 --- launcher/icons/IconList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/icons/IconList.cpp b/launcher/icons/IconList.cpp index 21bed70a..1dfc6432 100644 --- a/launcher/icons/IconList.cpp +++ b/launcher/icons/IconList.cpp @@ -365,7 +365,7 @@ bool IconList::trashIcon(const QString &key) if (!iconFileExists(key)) 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)