Fixed the wrong calculation of the first and last visible index

Review Request #111486 - Created July 11, 2013 and submitted

Information
Emmanuel Pescosta
kde-baseapps
master
319951
Reviewers
dolphin
Fixed the wrong calculation of the first and last visible
index in KItemListViewLayouter, which happened under some special
circumstances (esp. when deleting items at the end of the view).

Also made a small performance improvement in KItemListViewLayouter::doLayout.
We use the already calculated y bottom position instead of looping over
all items, to determine the items "greatest" bottom position.

BUG: 319951
FIXED-IN: 4.11.0
Yep. No more icons rendered on top of each other. All items are visible after deleting some items at the end.

Files


Frank Reininghaus
Emmanuel Pescosta
Emmanuel Pescosta
Emmanuel Pescosta
Frank Reininghaus
Commit Hook
Emmanuel Pescosta
Review request changed

Status: Closed (submitted)

Loading...