diff options
Diffstat (limited to 'kio')
-rw-r--r-- | kio/kio/krun.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kio/kio/krun.cpp b/kio/kio/krun.cpp index 7b278d2cd..58926eac8 100644 --- a/kio/kio/krun.cpp +++ b/kio/kio/krun.cpp @@ -724,7 +724,8 @@ static KURL::List resolveURLs( const KURL::List& _urls, const KService& _service const KURL url = *it; bool supported = url.isLocalFile() || supportedProtocols.find( url.protocol().lower() ) != supportedProtocols.end(); kdDebug(7010) << "Looking at url=" << url << " supported=" << supported << endl; - if ( !supported && KProtocolInfo::protocolClass(url.protocol()) == ":local" ) + if ( !supported && KProtocolInfo::protocolClass(url.protocol()) == ":local" && + !url.url().startsWith("media:/") && !url.url().startsWith("system:/media")) { // Maybe we can resolve to a local URL? KURL localURL = KIO::NetAccess::mostLocalURL( url, 0 ); |