Skip to content

Commit bc43fdd

Browse files
committed
Make QgsSymbolV2::renderHints() const
1 parent aaddc4f commit bc43fdd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/core/symbology-ng-core.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ class QgsSymbolV2RenderContext
631631
void setSelected( bool selected );
632632

633633
//! @note added in 1.5
634-
int renderHints();
634+
int renderHints() const;
635635
//! @note added in 1.5
636636
void setRenderHints( int hints );
637637

src/core/symbology-ng/qgssymbolv2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class CORE_EXPORT QgsSymbolV2
9898
//! @note added in 1.5
9999
void setRenderHints( int hints ) { mRenderHints = hints; }
100100
//! @note added in 1.5
101-
int renderHints() { return mRenderHints; }
101+
int renderHints() const { return mRenderHints; }
102102

103103
QSet<QString> usedAttributes() const;
104104

0 commit comments

Comments
 (0)