]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Always support a moving animation in case of the details view
authorPeter Penz <peter.penz19@gmail.com>
Sat, 2 Jun 2012 14:08:13 +0000 (16:08 +0200)
committerPeter Penz <peter.penz19@gmail.com>
Sat, 2 Jun 2012 14:09:24 +0000 (16:09 +0200)
This fixes the issue that resizing items results in flickering
when expandable items are shown.

src/kitemviews/kitemlistview.cpp

index 5f4c5460687f3efd9f423d236701f68e7df1eace..64b33f96f36b658a3e0c94270513c0bfac127666 100644 (file)
@@ -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.
 
     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.
     } 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.