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 16:49:32 +0200 |
commit | 3ba04b2973acc798417d584ca9d1b81d4f55a4fc (patch) | |
tree | 6222cfd22625295e9deb18fa956d34d36d1a48df /kded | |
parent | 83badc2107776a2a0d4afc59bf179d6f57dcf3f8 (diff) | |
download | tdelibs-3ba04b2973acc798417d584ca9d1b81d4f55a4fc.tar.gz tdelibs-3ba04b2973acc798417d584ca9d1b81d4f55a4fc.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>
(cherry picked from commit a5def4f9a471a83465be8918a443fe96e49e3029)
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 ); |