diff options
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 dbf764a0f..c1ba1ea34 100644 --- a/src/iconview/qiconview.cpp +++ b/src/iconview/qiconview.cpp @@ -5800,11 +5800,11 @@ bool TQIconView::eventFilter( TQObject * o, TQEvent * e ) if ( d->dragging ) { if ( !d->rubber ) drawDragShapes( d->oldDragPos ); - } - bufferedPaintEvent( (TQPaintEvent*)e ); - if ( d->dragging ) { + viewportPaintEvent( (TQPaintEvent*)e ); if ( !d->rubber ) drawDragShapes( d->oldDragPos ); + } else { + bufferedPaintEvent( (TQPaintEvent*)e ); } } return TRUE; |