diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-04-11 14:59:49 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-04-11 14:59:49 +0200 |
commit | a5def4f9a471a83465be8918a443fe96e49e3029 (patch) | |
tree | 3349f71ff3da6a05e11865c55fa3bf8c45516ded /kded | |
parent | 0b1a3e154b35c26c96bb523a956a5bf8b3c5e91c (diff) | |
download | tdelibs-a5def4f9a471a83465be8918a443fe96e49e3029.tar.gz tdelibs-a5def4f9a471a83465be8918a443fe96e49e3029.zip |
Add a definition of MIME type application/x-pie-executable.
This resolves incorrect identification of binary executables with libmagick >= 5.33.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kded')
-rw-r--r-- | kded/kbuildservicetypefactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kded/kbuildservicetypefactory.cpp b/kded/kbuildservicetypefactory.cpp index da2863347..b85776166 100644 --- a/kded/kbuildservicetypefactory.cpp +++ b/kded/kbuildservicetypefactory.cpp @@ -106,7 +106,7 @@ KBuildServiceTypeFactory::createEntry(const TQString &file, const char *resource || (mime == "media/builtin-trash") || (mime == "media/builtin-webbrowser") ) e = new KDEDesktopMimeType( &desktopFile ); - else if ( mime == "application/x-executable" || mime == "application/x-shellscript" ) + else if ( mime == "application/x-executable" || mime == "application/x-pie-executable" || mime == "application/x-shellscript" ) e = new KExecMimeType( &desktopFile ); else if ( !mime.isEmpty() ) e = new KMimeType( &desktopFile ); |