Skip to content
Permalink
Browse files

Removing compiler warnings

  • Loading branch information
ccrook committed Sep 20, 2014
1 parent 47f7db5 commit e0b9afbefa5b339c9745ffa1bda4e1eb99713711
@@ -361,7 +361,6 @@ bool QgsGraduatedSymbolRendererV2::updateRangeRenderState( int rangeIndex, bool

QString QgsGraduatedSymbolRendererV2::defaultRangeLabel(const QgsRendererRangeV2 & range )
{
int ndp=mDecimalPlaces;
return QString::number( range.lowerValue(), 'f', mDecimalPlaces )
+ " - " + QString::number( range.upperValue(), 'f', mDecimalPlaces ) + mUnits;
}
@@ -135,7 +135,7 @@ class CORE_EXPORT QgsGraduatedSymbolRendererV2 : public QgsFeatureRendererV2
QString units() const { return mUnits; }
void setUnits( QString units, bool updateRanges=true );

int decimalPlaces() const { return mDecimalPlaces; };
int decimalPlaces() const { return mDecimalPlaces; }
void setDecimalPlaces( int decimalPlaces, bool updateRanges=true );

static QgsGraduatedSymbolRendererV2* createRenderer(
@@ -218,13 +218,13 @@ class CORE_EXPORT QgsGraduatedSymbolRendererV2 : public QgsFeatureRendererV2

protected:
QString mAttrName;
QString mUnits;
int mDecimalPlaces;
QgsRangeList mRanges;
Mode mMode;
QScopedPointer<QgsSymbolV2> mSourceSymbol;
QScopedPointer<QgsVectorColorRampV2> mSourceColorRamp;
bool mInvertedColorRamp;
QString mUnits;
int mDecimalPlaces;
QScopedPointer<QgsExpression> mRotation;
QScopedPointer<QgsExpression> mSizeScale;
QgsSymbolV2::ScaleMethod mScaleMethod;

0 comments on commit e0b9afb

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