From: Peter Penz Date: Sat, 2 Jun 2012 14:08:13 +0000 (+0200) Subject: Always support a moving animation in case of the details view X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/931e180400fbb41126c2a0da09e3c30cb9550c48?ds=inline 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. --- 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.