Skip to content
Permalink
Browse files

Fix return value warning in defaultZValue function.

  • Loading branch information
alisovenko committed Feb 3, 2017
1 parent 18b9242 commit a1bdb8fc7d65631876e5c28ca13921efcc664861
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsmaptooledit.cpp
@@ -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 )

0 comments on commit a1bdb8f

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