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
ab2f3bb5bc
commit
6cb857b895
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user