Review Request 113233: Two small simplifications in KItemListViewLayouter
Frank Reininghaus
frank78ac at googlemail.com
Sun Oct 13 18:26:14 BST 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113233/
-----------------------------------------------------------
Review request for Dolphin.
Repository: kde-baseapps
Description
-------
The first change is to remove the unneeded variable rowCount.
The second simplifies the calculation of the member m_maximumScrollOffset. If I'm not mistaken, we can just use the current value of "y" because this is the offset that the next row would have.
Diffs
-----
dolphin/src/kitemviews/private/kitemlistviewlayouter.cpp d6e78ae
Diff: http://git.reviewboard.kde.org/r/113233/diff/
Testing
-------
Layout still looks the same to me in all view modes, and also with grouping enabled.
Thanks,
Frank Reininghaus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20131013/aaa38221/attachment.htm>
More information about the kfm-devel
mailing list