Removing untrusted .desktop custom icons

David Faure faure at
Mon Mar 2 19:30:18 GMT 2009

On Sunday 01 March 2009, Roland Harnau wrote:
> 2009/2/28, Michael Pyne <mpyne at>:
> > I just use KDesktopFile::hasApplicationType() to see if I need to dig
> > further,
> > are there any other weird application launcher types that don't return true
> > for hasApplicationType that I need to worry about?
> There are also launchers with Type=Service and  Exec key used by
> stand-alone daemons (e.g. kwalletd).

Yep. So better replace hasApplicationType() with desktopGroup().hasKey("Exec").

David Faure, faure at, sponsored by Qt Software @ Nokia to work on KDE,
Konqueror (, and KOffice (

More information about the kde-core-devel mailing list