Skip to content

Commit

Permalink
Fix use of deleted function for QgsEffectPainter
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere authored and nyalldawson committed Jun 16, 2020
1 parent dc43b9f commit dd6ad4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/core/auto_generated/effects/qgspainteffect.sip.in
Expand Up @@ -448,6 +448,8 @@ Sets the effect to be painted



private:
const QgsEffectPainter &operator=( const QgsEffectPainter & );
};


Expand Down
4 changes: 4 additions & 0 deletions src/core/effects/qgspainteffect.h
Expand Up @@ -431,6 +431,10 @@ class CORE_EXPORT QgsEffectPainter
///@endcond

private:
#ifdef SIP_RUN
const QgsEffectPainter &operator=( const QgsEffectPainter & );
#endif

QgsRenderContext &mRenderContext;
QPainter *mPainter = nullptr;
QgsPaintEffect *mEffect = nullptr;
Expand Down

0 comments on commit dd6ad4b

Please sign in to comment.