KDesktopFile::noDisplay: Decide based on XDG_CURRENT_DESKTOP variable
The check for not showing the desktop file was previously incorrect (only checked against "KDE" string) and was removed in 96c6a371.
This MR implements it correctly, based on XDG_CURRENT_DESKTOP
environment variable. The similar code can be found in KService::noDisplay()
.