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 08b9bb9 commit a3ec675851ad9fb95ba26a50f262bcaf651deceb
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 a3ec675

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