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