From 6cb857b8959379163ffdf2a953d8f024f1e51b21 Mon Sep 17 00:00:00 2001 From: leo78913 Date: Sat, 10 Dec 2022 10:31:30 -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 5080d3f8..21bed70a 100644 --- a/launcher/icons/IconList.cpp +++ b/launcher/icons/IconList.cpp @@ -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)