Review Request 113233: Two small simplifications in KItemListViewLayouter

Commit Hook null at kde.org
Wed Oct 16 22:03:43 BST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113233/#review41838
-----------------------------------------------------------


This review has been submitted with commit 6771d9510f0cd9f77e4a53c0704a15be5bf66279 by Frank Reininghaus to branch master.

- Commit Hook


On Oct. 13, 2013, 5:26 p.m., Frank Reininghaus wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113233/
> -----------------------------------------------------------
> 
> (Updated Oct. 13, 2013, 5:26 p.m.)
> 
> 
> 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/20131016/29d3bed1/attachment.htm>


More information about the kfm-devel mailing list