D23420: Use solid to check if a KFileItem is located on a network mount

Anthony Fieroni noreply at phabricator.kde.org
Tue Aug 27 08:19:08 BST 2019


anthonyfieroni added inline comments.

INLINE COMMENTS

> anthonyfieroni wrote in kfileitem.cpp:764
> Get it as `const Solid::StorageAccess`, you can use `auto storageAccess = ...`

Let clarify what David mean

  for (const Solid::Device& device : devices) {
      auto storageAccess = device.as<const Solid::StorageAccess>();

REPOSITORY
  R241 KIO

BRANCH
  arcpatch-D23420

REVISION DETAIL
  https://phabricator.kde.org/D23420

To: meven, dfaure, #frameworks
Cc: broulik, anthonyfieroni, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190827/7520df4e/attachment.html>


More information about the Kde-frameworks-devel mailing list