[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/apps/plasma/applets/folderview
From:       Fredrik Höglund <fredrik () kde ! org>
Date:       2010-01-28 17:49:41
Message-ID: 1264700981.154216.11830.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1081548 by fredrik:

- Mark the whole widget as dirty when the content margins change,
  not just the area inside the new contents rect.

  This fixes artifacts left on the screen when panels are added.

- Clear the region cache after shifting the icons.


 M  +2 -1      iconview.cpp  


--- trunk/KDE/kdebase/apps/plasma/applets/folderview/iconview.cpp #1081547:1081548
@@ -2341,7 +2341,8 @@
                         m_items[i].rect.translate(delta);
                     }
                 }
-                markAreaDirty(visibleArea());
+                m_regionCache.clear();
+                markAreaDirty(mapToViewport(rect()).toAlignedRect());
                 updateScrollBar();
             }    
         }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic