diff options
author | Slávek Banko <[email protected]> | 2013-03-01 23:18:23 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-03-01 23:18:23 -0600 |
commit | d10d2321a34ab6c157bdf2a2e900c0ee52f1bd79 (patch) | |
tree | f39805fd54fee03980989432832bedcb866f08e2 /src/iconview | |
parent | 89af6f8007568a86132c9b4cc0a21356572a8bda (diff) | |
download | qt3-d10d2321a34ab6c157bdf2a2e900c0ee52f1bd79.tar.gz qt3-d10d2321a34ab6c157bdf2a2e900c0ee52f1bd79.zip |
Fix textbox trails introduced with GIT commit 82b71e49
This resolves Bug 1408
Diffstat (limited to 'src/iconview')
-rw-r--r-- | src/iconview/qiconview.cpp | 6 |
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; |