We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent b65d962 commit cf0fe9aCopy full SHA for cf0fe9a
src/gui/qgsadvanceddigitizingcanvasitem.cpp
@@ -173,7 +173,7 @@ void QgsAdvancedDigitizingCanvasItem::paint( QPainter* painter )
173
// Draw x
174
if ( mAdvancedDigitizingDockWidget->constraintX()->isLocked() )
175
{
176
- double x;
+ double x = 0.0;
177
bool draw = true;
178
painter->setPen( mLockedPen );
179
if ( mAdvancedDigitizingDockWidget->constraintX()->relative() )
@@ -203,7 +203,7 @@ void QgsAdvancedDigitizingCanvasItem::paint( QPainter* painter )
203
// Draw y
204
if ( mAdvancedDigitizingDockWidget->constraintY()->isLocked() )
205
206
- double y;
+ double y = 0.0;
207
208
209
if ( mAdvancedDigitizingDockWidget->constraintY()->relative() )
0 commit comments