Skip to content

Commit

Permalink
Fix precision problems with composer marquee select by using a QRectF…
Browse files Browse the repository at this point in the history
… instead of a QRect for marquee bounds
  • Loading branch information
nyalldawson committed Oct 21, 2013
1 parent c777dc6 commit 049232c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgscomposerview.cpp
Expand Up @@ -430,7 +430,7 @@ void QgsComposerView::endMarqueeSelect( QMouseEvent* e )
return;
}

QRect boundsRect = QRect( mRubberBandItem->transform().dx(), mRubberBandItem->transform().dy(),
QRectF boundsRect = QRectF( mRubberBandItem->transform().dx(), mRubberBandItem->transform().dy(),
mRubberBandItem->rect().width(), mRubberBandItem->rect().height() );

//determine item selection mode, default to intersection
Expand Down

0 comments on commit 049232c

Please sign in to comment.