Broaden KDE4 application detection critera

This resolves Bug 891
Thanks to Darrell Anderson for the patch!
pull/16/head
Timothy Pearson 12 years ago
parent 4891e4bc15
commit 9a2e58b31d

@ -97,7 +97,7 @@ KService::init( KDesktopFile *config )
m_bValid = true;
bool absPath = !TQDir::isRelativePath(entryPath());
bool kde4application = config->fileName().startsWith("/usr/share/applications/kde4/");
bool kde4application = config->fileName().contains("/share/applications/kde4/");
config->setDesktopGroup();

Loading…
Cancel
Save