summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <[email protected]>2015-05-03 15:37:53 +0200
committerDennis Nienhüser <[email protected]>2015-05-03 15:37:53 +0200
commitfc66d8327fbba4948fc4b06c52ae3f8c6a6d6971 (patch)
tree756077740024dcb7932fa0e16e2e8355caad9f9b
parent0f78d20c839a2f28378d1e36fae19813edd0b464 (diff)
cppcheck: Initialize member variables in ctor
-rw-r--r--src/plugins/render/measure/MeasureToolPlugin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/render/measure/MeasureToolPlugin.cpp b/src/plugins/render/measure/MeasureToolPlugin.cpp
index f83b9be..1ac3ccf 100644
--- a/src/plugins/render/measure/MeasureToolPlugin.cpp
+++ b/src/plugins/render/measure/MeasureToolPlugin.cpp
@@ -67,7 +67,8 @@ MeasureToolPlugin::MeasureToolPlugin( const MarbleModel *marbleModel )
m_circularArea(0.0),
m_radius(0.0),
m_perimeter(0.0),
- m_circumference(0.0)
+ m_circumference(0.0),
+ m_paintMode(Polygon)
{
m_pen.setWidthF( 2.0 );
}