Skip to content
Permalink
Browse files

Fix precision problems with composer marquee select by using a QRectF…

… instead of a QRect for marquee bounds
  • Loading branch information
nyalldawson committed Oct 21, 2013
1 parent c777dc6 commit 049232c3f88f4658f4e6f35a0dfd7824ac891414
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgscomposerview.cpp
@@ -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

0 comments on commit 049232c

Please sign in to comment.
You can’t perform that action at this time.