From 931e180400fbb41126c2a0da09e3c30cb9550c48 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 2 Jun 2012 16:08:13 +0200 Subject: Always support a moving animation in case of the details view This fixes the issue that resizing items results in flickering when expandable items are shown. --- src/kitemviews/kitemlistview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/kitemviews/kitemlistview.cpp b/src/kitemviews/kitemlistview.cpp index 5f4c54606..64b33f96f 100644 --- a/src/kitemviews/kitemlistview.cpp +++ b/src/kitemviews/kitemlistview.cpp @@ -1753,7 +1753,7 @@ bool KItemListView::moveWidget(KItemListWidget* widget,const QPointF& newPos) if (m_itemSize.isEmpty()) { // The items are not aligned in a grid but either as columns or rows. - startMovingAnim = !supportsItemExpanding(); + startMovingAnim = true; } else { // When having a grid the moving-animation should only be started, if it is done within // one row in the vertical scroll-orientation or one column in the horizontal scroll-orientation. -- cgit v1.3