summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-03-01 23:18:23 -0600
committerSlávek Banko <slavek.banko@axis.cz>2013-03-02 12:16:10 +0100
commita78eb9c8b7173fb26aeb7b79d7b733a8c17e8311 (patch)
tree4f7b4eda445ff0cdd12e5efd8c0e53f223f6fc90
parent897cd5c506666c79771aa761544f593149f37a40 (diff)
downloadqt3-a78eb9c8b7173fb26aeb7b79d7b733a8c17e8311.tar.gz
qt3-a78eb9c8b7173fb26aeb7b79d7b733a8c17e8311.zip
Fix textbox trails introduced with GIT commit 82b71e49
This resolves Bug 1408 (cherry picked from commit d10d2321a34ab6c157bdf2a2e900c0ee52f1bd79)
-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 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;