summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-03-01 23:18:23 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-03-01 23:18:23 -0600
commitd10d2321a34ab6c157bdf2a2e900c0ee52f1bd79 (patch)
treef39805fd54fee03980989432832bedcb866f08e2 /src
parent89af6f8007568a86132c9b4cc0a21356572a8bda (diff)
downloadqt3-d10d2321a34ab6c157bdf2a2e900c0ee52f1bd79.tar.gz
qt3-d10d2321a34ab6c157bdf2a2e900c0ee52f1bd79.zip
Fix textbox trails introduced with GIT commit 82b71e49
This resolves Bug 1408
Diffstat (limited to 'src')
-rw-r--r--src/iconview/qiconview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/iconview/qiconview.cpp b/src/iconview/qiconview.cpp
index 9fd3022..2272f83 100644
--- a/src/iconview/qiconview.cpp
+++ b/src/iconview/qiconview.cpp
@@ -5800,11 +5800,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;