]> cloud.milkyroute.net Git - dolphin.git/commit
KItemListContainer: show only the scroll bar that is needed
authorFrank Reininghaus <frank78ac@googlemail.com>
Sat, 13 Aug 2011 12:34:17 +0000 (14:34 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Sat, 13 Aug 2011 12:35:18 +0000 (14:35 +0200)
commitfabf5681f5ae71e7ad7cc1c4876917a31b9b40a6
tree8c563c36b90ad68d6e00e412fd702664d12dddc3
parent7230abb635e4f43db3d61821ed671486ee71d922
KItemListContainer: show only the scroll bar that is needed

Up to now, KItemListContainer would show both a vertical and
horizontal scroll bar after a view mode change. This commit
fixes that by setting the maximum and the value of the scroll
bar that is not needed to 0 in
KItemListContainer::updateScrollBars().
src/kitemviews/kitemlistcontainer.cpp