fvogt added a comment.
IMO this should be done in KIO, so that all users benefit. In D25856#575011 <https://phabricator.kde.org/D25856#575011>, @broulik wrote: > Isn't that what `KProtocolInfo::protocolClass() == ":local"` is for? Almost, but not quite - it just means that the resource is on the same system and therefore there's no hostname in the URL. Protocols like `man`, `tar`, `zip`, etc. are all `:local` as well, but can't be translated to `file:///...`. I'd hope there is some other way to query for that property. REPOSITORY R229 KDialog REVISION DETAIL https://phabricator.kde.org/D25856 To: ngraham, #frameworks, #dolphin Cc: fvogt, broulik, meven