aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--launcher/icons/IconList.cpp2
1 files changed, 1 insertions, 1 deletions
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)