Skip to content

Commit

Permalink
Initialize all members, to reduce misleading valgrind reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandro Santilli committed Dec 19, 2014
1 parent ddb406d commit f4c3165
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/qgsmapsettings.cpp
Expand Up @@ -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();

Expand Down

0 comments on commit f4c3165

Please sign in to comment.