Skip to content
Permalink
Browse files

Fix const, followup 6a2df33

  • Loading branch information
m-kuhn committed Aug 5, 2015
1 parent df4c131 commit 504863bc4a076601552cd4e98d5dbcc72ef647a8
Showing with 5 additions and 6 deletions.
  1. +0 −5 src/core/qgsvectorlayer.cpp
  2. +5 −1 src/core/qgsvectorlayer.h
@@ -2753,11 +2753,6 @@ void QgsVectorLayer::setLabelOnTop( int idx, bool onTop )
mLabelOnTop[ mUpdatedFields[idx].name()] = onTop;
}

QgsFeatureRendererV2* QgsVectorLayer::rendererV2() const
{
return mRendererV2;
}

void QgsVectorLayer::setRendererV2( QgsFeatureRendererV2 *r )
{
if ( !hasGeometryType() )
@@ -957,7 +957,11 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
const QgsDiagramLayerSettings *diagramLayerSettings() const { return mDiagramLayerSettings; }

/** Return renderer V2. */
QgsFeatureRendererV2* rendererV2() const;
QgsFeatureRendererV2* rendererV2() { return mRendererV2; }

/** Return const renderer V2. */
const QgsFeatureRendererV2* rendererV2() const { return mRendererV2; }

/** Set renderer V2. */
void setRendererV2( QgsFeatureRendererV2* r );

0 comments on commit 504863b

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