Skip to content

Commit

Permalink
Fix build on older Qt versions
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 21, 2020
1 parent 62409b9 commit 0920242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgspointrotationitem.cpp
Expand Up @@ -117,7 +117,7 @@ void QgsPointRotationItem::setSymbol( const QImage &symbolImage )
}

const double halfItemWidth = mPixmap.width() / 2.0;
mArrowPath.clear();
mArrowPath = QPainterPath();
mArrowPath.moveTo( halfItemWidth, pixmapHeight );
mArrowPath.lineTo( halfItemWidth, 0 );
mArrowPath.moveTo( mPixmap.width() * 0.25, pixmapHeight * 0.25 );
Expand Down

0 comments on commit 0920242

Please sign in to comment.