Skip to content
Permalink
Browse files

Fix arrow bug and an assert on windows

git-svn-id: http://svn.osgeo.org/qgis/trunk@12261 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Nov 26, 2009
1 parent c4bcced commit 120f4889cf9e067b0370c53d2e35c25205db3ba5
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/composer/qgscomposerarrow.cpp
@@ -298,10 +298,10 @@ void QgsComposerArrow::adaptItemSceneRect()
//rectangle containing start and end point
QRectF rect = QRectF( std::min( mStartPoint.x(), mStopPoint.x() ), std::min( mStartPoint.y(), mStopPoint.y() ), \
fabs( mStopPoint.x() - mStartPoint.x() ), fabs( mStopPoint.y() - mStartPoint.y() ) );
double enlarge;
double enlarge = 0;
if ( mMarkerMode == DefaultMarker )
{
enlarge == mPen.widthF() / 2.0 + mArrowHeadWidth / 2.0;
enlarge = mPen.widthF() / 2.0 + mArrowHeadWidth / 2.0;
}
else if ( mMarkerMode == NoMarker )
{

0 comments on commit 120f488

Please sign in to comment.