Skip to content
Permalink
Browse files

Initialize all members, to reduce misleading valgrind reports

  • Loading branch information
Sandro Santilli
Sandro Santilli committed Dec 19, 2014
1 parent ddb406d commit f4c3165a6b2fa470e51063ed6e82cb6ee5607d7d
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/qgsmapsettings.cpp
@@ -42,6 +42,10 @@ QgsMapSettings::QgsMapSettings()
, mSelectionColor( Qt::yellow )
, mFlags( Antialiasing | UseAdvancedEffects | DrawLabeling | DrawSelection )
, mImageFormat( QImage::Format_ARGB32_Premultiplied )
, mValid( false )
, mVisibleExtent()
, mMapUnitsPerPixel( 1 )
, mScale( 1 )
{
updateDerived();

0 comments on commit f4c3165

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