dfaure added a comment.
Ah well surely we can test for <=0 already right now. It can't break any user of the code, since -2 (and further down) would have led to an empty list, which is pretty pointless. REPOSITORY R246 Sonnet BRANCH master REVISION DETAIL https://phabricator.kde.org/D9491 To: dfaure, sandsmark, mlaurent, dhaumann Cc: dhaumann, #kde_pim, #frameworks