Skip to content

Commit

Permalink
Merge pull request #36240 from troopa81/fix_snaptogridcanvasitem
Browse files Browse the repository at this point in the history
Fix SIP QgsSnapToGridCanvasItem class declaration
  • Loading branch information
m-kuhn committed May 7, 2020
2 parents e441eaa + 985f86f commit 10713dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/gui/auto_generated/qgssnaptogridcanvasitem.sip.in
Expand Up @@ -14,7 +14,7 @@
#include <qgssnaptogridcanvasitem.h>
%End

class QgsSnapToGridCanvasItem : QObject, QgsMapCanvasItem
class QgsSnapToGridCanvasItem : QgsMapCanvasItem
{
%Docstring

Expand Down
6 changes: 6 additions & 0 deletions src/gui/qgssnaptogridcanvasitem.h
Expand Up @@ -37,8 +37,14 @@
*
* \since QGIS 3.4
*/
#ifndef SIP_RUN
class GUI_EXPORT QgsSnapToGridCanvasItem : public QObject, public QgsMapCanvasItem
{
#else
class GUI_EXPORT QgsSnapToGridCanvasItem : public QgsMapCanvasItem
{
#endif

Q_OBJECT

#ifdef SIP_RUN
Expand Down

0 comments on commit 10713dd

Please sign in to comment.