Update launcher/icons/IconList.cpp
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user