Skip to content
Permalink
Browse files

Fix uninitialized variables identified by coverity

  • Loading branch information
nyalldawson committed Feb 3, 2015
1 parent b05e789 commit 5cacf59a313bd421af2e0c523920e610e8489765
Showing with 12 additions and 1 deletion.
  1. +12 −1 src/core/qgsdiagramrendererv2.h
@@ -109,7 +109,18 @@ class CORE_EXPORT QgsDiagramSettings
Right
};

QgsDiagramSettings(): sizeType( MM ), minScaleDenominator( -1 ), maxScaleDenominator( -1 )
QgsDiagramSettings()
: sizeType( MM )
, penWidth( 0.0 )
, labelPlacementMethod( QgsDiagramSettings::Height )
, diagramOrientation( QgsDiagramSettings::Up )
, barWidth( 5.0 )
, transparency( 0 )
, scaleByArea( true )
, angleOffset( 90 * 16 ) //top
, minScaleDenominator( -1 )
, maxScaleDenominator( -1 )
, minimumSize( 0.0 )
{}
QFont font;
QList< QColor > categoryColors;

0 comments on commit 5cacf59

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