Skip to content
Permalink
Browse files

Merge pull request #36240 from troopa81/fix_snaptogridcanvasitem

Fix SIP QgsSnapToGridCanvasItem class declaration
  • Loading branch information
m-kuhn committed May 7, 2020
2 parents e441eaa + 985f86f commit 10713ddfa09ad356feaff8917eebf8c07657cf9e
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 10713dd

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