D25856: Show IOSlaves that return local files when in local file mode

Fabian Vogt noreply at phabricator.kde.org
Tue Dec 10 17:58:34 GMT 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191210/fa609823/attachment.html>


More information about the Kde-frameworks-devel mailing list