Skip to content
Permalink
Browse files

Fixes #36033 : add sip specific class declaration to QgsSnapToGridCan…

…vasItem
  • Loading branch information
troopa81 committed May 6, 2020
1 parent c22c73d commit 985f86f1d78a5788c59a5efda28e8e2aa7587128
Showing with 7 additions and 1 deletion.
  1. +1 −1 python/gui/auto_generated/qgssnaptogridcanvasitem.sip.in
  2. +6 −0 src/gui/qgssnaptogridcanvasitem.h
@@ -14,7 +14,7 @@
#include <qgssnaptogridcanvasitem.h>
%End

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

@@ -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

0 comments on commit 985f86f

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