summaryrefslogtreecommitdiffstats
path: root/kio
diff options
context:
space:
mode:
Diffstat (limited to 'kio')
-rw-r--r--kio/kio/krun.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/kio/kio/krun.cpp b/kio/kio/krun.cpp
index 58926eac8..298cc93eb 100644
--- a/kio/kio/krun.cpp
+++ b/kio/kio/krun.cpp
@@ -155,8 +155,10 @@ pid_t KRun::runURL( const KURL& u, const TQString& _mimetype, TQWidget* window,
noAuth = true;
}
}
- else if (_mimetype == "application/x-executable")
+ else if (_mimetype == "application/x-executable" || _mimetype == "application/x-pie-executable")
+ {
noRun = true;
+ }
}
else if ( isExecutable(_mimetype) )
{
@@ -1452,6 +1454,7 @@ bool KRun::isExecutable( const TQString& serviceType )
serviceType == "media/builtin-trash" ||
serviceType == "media/builtin-webbrowser" ||
serviceType == "application/x-executable" ||
+ serviceType == "application/x-pie-executable" ||
serviceType == "application/x-msdos-program" ||
serviceType == "application/x-shellscript" );
}