Skip to content

Commit

Permalink
Fix return value warning in defaultZValue function.
Browse files Browse the repository at this point in the history
  • Loading branch information
alisovenko committed Feb 3, 2017
1 parent 18b9242 commit a1bdb8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsmaptooledit.cpp
Expand Up @@ -31,7 +31,7 @@ QgsMapToolEdit::QgsMapToolEdit( QgsMapCanvas* canvas )

double QgsMapToolEdit::defaultZValue() const
{
QSettings().value( QStringLiteral( "/qgis/digitizing/default_z_value" ), Qgis::DEFAULT_Z_COORDINATE ).toDouble();
return QSettings().value( QStringLiteral( "/qgis/digitizing/default_z_value" ), Qgis::DEFAULT_Z_COORDINATE ).toDouble();
}

QgsRubberBand* QgsMapToolEdit::createRubberBand( QgsWkbTypes::GeometryType geometryType, bool alternativeBand )
Expand Down

0 comments on commit a1bdb8f

Please sign in to comment.