summaryrefslogtreecommitdiffstats
path: root/gentoo/dev-qt/qt/files/trinity-3.5.13.1..3.5.13.2/qt3-2013-03-02_12_16_10-Fix-textbox-trails-introduced-with-GIT-commit-82b71e49-This-resolves-Bug-1408-a78eb9c.patch
blob: 3a8768d0c5b435230e5adefa5e410b7914dd4f19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/src/iconview/qiconview.cpp b/src/iconview/qiconview.cpp
index 36b5da2..4387a19 100644
--- a/src/iconview/qiconview.cpp
+++ b/src/iconview/qiconview.cpp
@@ -5770,11 +5770,11 @@ bool QIconView::eventFilter( QObject * o, QEvent * e )
 		if ( d->dragging ) {
 		    if ( !d->rubber )
 			drawDragShapes( d->oldDragPos );
-		}
-		bufferedPaintEvent( (QPaintEvent*)e );
-		if ( d->dragging ) {
+		    viewportPaintEvent( (QPaintEvent*)e );
 		    if ( !d->rubber )
 			drawDragShapes( d->oldDragPos );
+		} else {
+		    bufferedPaintEvent( (QPaintEvent*)e );
 		}
 	    }
 	    return TRUE;