summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-04-05 09:16:56 -0500
committerTimothy Pearson <[email protected]>2013-04-05 09:16:56 -0500
commit9a2e58b31d564c7e87150d56c0318cbab1ae400e (patch)
treec8810cf6cadab253ecc9e3420c8e006630696e01
parent4891e4bc151b80eaffe15ea5d9b079592526158e (diff)
downloadtdelibs-9a2e58b31d564c7e87150d56c0318cbab1ae400e.tar.gz
tdelibs-9a2e58b31d564c7e87150d56c0318cbab1ae400e.zip
Broaden KDE4 application detection critera
This resolves Bug 891 Thanks to Darrell Anderson for the patch!
-rw-r--r--tdeio/tdeio/kservice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeio/tdeio/kservice.cpp b/tdeio/tdeio/kservice.cpp
index c9a6fdae2..55ad2862b 100644
--- a/tdeio/tdeio/kservice.cpp
+++ b/tdeio/tdeio/kservice.cpp
@@ -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();