aboutsummaryrefslogtreecommitdiff
path: root/launcher/icons
diff options
context:
space:
mode:
authorleo78913 <leo3758@riseup.net>2022-12-10 10:31:44 -0300
committerGitHub <noreply@github.com>2022-12-10 10:31:44 -0300
commit2d5820e910476f7eab32ac5cd48cce18c0c5a1e5 (patch)
tree21f31b81df0abdb890c429b47ee6f2a474b8b842 /launcher/icons
parent6cb857b8959379163ffdf2a953d8f024f1e51b21 (diff)
downloadPrismLauncher-2d5820e910476f7eab32ac5cd48cce18c0c5a1e5.tar.gz
PrismLauncher-2d5820e910476f7eab32ac5cd48cce18c0c5a1e5.tar.bz2
PrismLauncher-2d5820e910476f7eab32ac5cd48cce18c0c5a1e5.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')
-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 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)