Skip to content
Permalink
Browse files

Fix SIP QgsSnapToGridCanvasItem class declaration

  • Loading branch information
github-actions authored and nyalldawson committed May 7, 2020
1 parent 0c251a1 commit c4f1e67ca5015f3f8d874d0a591022050543d578
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 c4f1e67

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