]> cloud.milkyroute.net Git - dolphin.git/commit
Fix maximum value for scroll bar when deleting items in Details View
authorFrank Reininghaus <frank78ac@googlemail.com>
Thu, 25 Jul 2013 20:25:18 +0000 (22:25 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Thu, 25 Jul 2013 20:25:18 +0000 (22:25 +0200)
commit55a989626d1285590ee7906638215b7a63812e23
tree2f473faa933526f5c8cdc102aed949893046c747
parent08c2f7f5fbc55939626842e5764df856c8972d66
Fix maximum value for scroll bar when deleting items in Details View

The problem was that the view heigt minus the header height was
subtracted from maximumScrollOffset() to determine the maximum value
of the scroll offset of the top of the view.

However, the top of the view is the part that is hiden behind the
header. Therefore, the full view height must be subtracted from
maximumScrollOffset.

The remaining bits of bug 319951 were fixed by other recent commits.

Thanks to Emmanuel Pescosta for helping to track down the problem!

BUG: 319951
FIXED-IN: 4.11.0
REVIEW: 111486
src/kitemviews/kitemlistcontainer.cpp