D13211: Enable comparing KFileItems by url

Jaime Torres Amate noreply at phabricator.kde.org
Wed May 30 14:02:41 UTC 2018


jtamate updated this revision to Diff 35188.
jtamate marked 3 inline comments as done.
jtamate edited the test plan for this revision.
jtamate added a comment.


  A KFileItem without url will be the lowest, even lower than itself.
  Created a new test.
  
  The comparison with the QUrl is for this use case:
  
    auto it = std::lower_bound(dirItem->lstItems.begin(), dirItem->lstItems.end(), oldUrl);

REPOSITORY
  R241 KIO

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D13211?vs=35180&id=35188

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

AFFECTED FILES
  autotests/kfileitemtest.cpp
  autotests/kfileitemtest.h
  src/core/kfileitem.cpp
  src/core/kfileitem.h

To: jtamate, dfaure
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180530/4d0efed8/attachment.html>


More information about the Kde-frameworks-devel mailing list