diff options
author | leo78913 <leo3758@riseup.net> | 2022-12-10 10:31:30 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-10 10:31:30 -0300 |
commit | 6cb857b8959379163ffdf2a953d8f024f1e51b21 (patch) | |
tree | fb42a2da4b3a7c1ab1bdd6a5211ce506b4e11817 /launcher/icons/IconList.cpp | |
parent | ab2f3bb5bcdb849d415d69deb3b8788a3e5fcc16 (diff) | |
download | PrismLauncher-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.cpp | 2 |
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) |