]> cloud.milkyroute.net Git - dolphin.git/commit
Two small simplifications in KItemListViewLayouter
authorFrank Reininghaus <frank78ac@googlemail.com>
Wed, 16 Oct 2013 21:01:54 +0000 (23:01 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Wed, 16 Oct 2013 21:02:06 +0000 (23:02 +0200)
commit76ae282ad9ad4ff9db0b7566df3c6058b38e64e6
treefe9080a1a3c9bc4267a58e738bc26765b9086cd7
parent77fd0e771ac2e173438c98abc1725d1818b4b868
Two small simplifications in KItemListViewLayouter

1. Remove the unneeded variable rowCount.

2. Simplify the calculation of the member m_maximumScrollOffset. We can
   just use the current value of "y" because this is the offset that
   the next row would have.

REVIEW: 113233
src/kitemviews/private/kitemlistviewlayouter.cpp