Skip to content

Commit f4c3165

Browse files
author
Sandro Santilli
committed
Initialize all members, to reduce misleading valgrind reports
1 parent ddb406d commit f4c3165

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/core/qgsmapsettings.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ QgsMapSettings::QgsMapSettings()
4242
, mSelectionColor( Qt::yellow )
4343
, mFlags( Antialiasing | UseAdvancedEffects | DrawLabeling | DrawSelection )
4444
, mImageFormat( QImage::Format_ARGB32_Premultiplied )
45+
, mValid( false )
46+
, mVisibleExtent()
47+
, mMapUnitsPerPixel( 1 )
48+
, mScale( 1 )
4549
{
4650
updateDerived();
4751

0 commit comments

Comments
 (0)