aboutsummaryrefslogtreecommitdiff
path: root/launcher/icons/IconList.cpp
diff options
context:
space:
mode:
authorleo78913 <leo3758@riseup.net>2022-12-10 10:31:30 -0300
committerGitHub <noreply@github.com>2022-12-10 10:31:30 -0300
commit6cb857b8959379163ffdf2a953d8f024f1e51b21 (patch)
treefb42a2da4b3a7c1ab1bdd6a5211ce506b4e11817 /launcher/icons/IconList.cpp
parentab2f3bb5bcdb849d415d69deb3b8788a3e5fcc16 (diff)
downloadPrismLauncher-6cb857b8959379163ffdf2a953d8f024f1e51b21.tar.gz
PrismLauncher-6cb857b8959379163ffdf2a953d8f024f1e51b21.tar.bz2
PrismLauncher-6cb857b8959379163ffdf2a953d8f024f1e51b21.zip
Update launcher/icons/IconList.cpp
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
Diffstat (limited to 'launcher/icons/IconList.cpp')
-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)