diff options
Diffstat (limited to 'src')
-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; |