SVN commit 930329 by mpyne: I don't think XDG applications must necessarily be installed under KDE, so make sure to check for those as well in isAuthorizedDesktopFile() M +2 -1 kdesktopfile.cpp --- trunk/KDE/kdelibs/kdecore/config/kdesktopfile.cpp #930328:930329 @@ -156,8 +156,9 @@ KStandardDirs *dirs = KGlobal::dirs(); QStringList kdePrefixes ( dirs->kfsstnd_prefixes().split(QDir::separator()) ); + kdePrefixes += dirs->resourceDirs ("xdgdata-apps"); - // Check if the .desktop file is installed as part of KDE. + // Check if the .desktop file is installed as part of KDE or XDG. foreach (const QString &prefix, kdePrefixes) { if (!prefix.isEmpty() && path.startsWith(prefix)) return true;