D14893: [recentdocuments:/] Filter out files that can't be browsed with a file manager

Mark Gaiser noreply at phabricator.kde.org
Sun Aug 19 12:07:54 BST 2018


markg added a comment.


  It "looks" oke to me, but i don't know this code one bit.

INLINE COMMENTS

> recentdocuments.cpp:82-83
> +                if (urlInside.scheme() == "recentdocuments"
> +                    // Filter out things that can't be viewed in a file manager because they don't
> +                    // meet the user definition of a file for the purpose of "recently accessed files"
> +                    || !KProtocolManager::supportsListing(urlInside)

Comments inside a multi-line if statement! Unheard of!
Please move that to a more appropriate place.

REPOSITORY
  R320 KIO Extras

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

To: ngraham, broulik, #dolphin, #frameworks
Cc: markg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180819/1a4798f3/attachment.htm>


More information about the kfm-devel mailing list