Broaden KDE4 application detection critera

This resolves Bug 891
Thanks to Darrell Anderson for the patch!
(cherry picked from commit 9a2e58b31d)
v3.5.13-sru
Timothy Pearson 12 years ago committed by Slávek Banko
parent a96da2c3fe
commit da981a1873

@ -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