Skip to content
Permalink
Browse files

fix warnings

  • Loading branch information
jef-n committed Oct 10, 2015
1 parent b65d962 commit cf0fe9a99c9ba7e6d6218cd1b471ba05188aa8fe
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgsadvanceddigitizingcanvasitem.cpp
@@ -173,7 +173,7 @@ void QgsAdvancedDigitizingCanvasItem::paint( QPainter* painter )
// Draw x
if ( mAdvancedDigitizingDockWidget->constraintX()->isLocked() )
{
double x;
double x = 0.0;
bool draw = true;
painter->setPen( mLockedPen );
if ( mAdvancedDigitizingDockWidget->constraintX()->relative() )
@@ -203,7 +203,7 @@ void QgsAdvancedDigitizingCanvasItem::paint( QPainter* painter )
// Draw y
if ( mAdvancedDigitizingDockWidget->constraintY()->isLocked() )
{
double y;
double y = 0.0;
bool draw = true;
painter->setPen( mLockedPen );
if ( mAdvancedDigitizingDockWidget->constraintY()->relative() )

0 comments on commit cf0fe9a

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