diff options
author | Timothy Pearson <[email protected]> | 2013-04-05 09:16:56 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-04-05 09:16:56 -0500 |
commit | 9a2e58b31d564c7e87150d56c0318cbab1ae400e (patch) | |
tree | c8810cf6cadab253ecc9e3420c8e006630696e01 /tdeio | |
parent | 4891e4bc151b80eaffe15ea5d9b079592526158e (diff) | |
download | tdelibs-9a2e58b31d564c7e87150d56c0318cbab1ae400e.tar.gz tdelibs-9a2e58b31d564c7e87150d56c0318cbab1ae400e.zip |
Broaden KDE4 application detection critera
This resolves Bug 891
Thanks to Darrell Anderson for the patch!
Diffstat (limited to 'tdeio')
-rw-r--r-- | tdeio/tdeio/kservice.cpp | 2 |
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(); |