Update launcher/icons/IconList.cpp
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
This commit is contained in:
parent
6cb857b895
commit
2d5820e910
@ -365,7 +365,7 @@ bool IconList::trashIcon(const QString &key)
|
|||||||
if (!iconFileExists(key))
|
if (!iconFileExists(key))
|
||||||
return false;
|
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)
|
bool IconList::addThemeIcon(const QString& key)
|
||||||
|
Loading…
Reference in New Issue
Block a user