Skip to content

Commit 985f86f

Browse files
committedMay 6, 2020
Fixes #36033 : add sip specific class declaration to QgsSnapToGridCanvasItem
1 parent c22c73d commit 985f86f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
 

‎python/gui/auto_generated/qgssnaptogridcanvasitem.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <qgssnaptogridcanvasitem.h>
1515
%End
1616

17-
class QgsSnapToGridCanvasItem : QObject, QgsMapCanvasItem
17+
class QgsSnapToGridCanvasItem : QgsMapCanvasItem
1818
{
1919
%Docstring
2020

‎src/gui/qgssnaptogridcanvasitem.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,14 @@
3737
*
3838
* \since QGIS 3.4
3939
*/
40+
#ifndef SIP_RUN
4041
class GUI_EXPORT QgsSnapToGridCanvasItem : public QObject, public QgsMapCanvasItem
4142
{
43+
#else
44+
class GUI_EXPORT QgsSnapToGridCanvasItem : public QgsMapCanvasItem
45+
{
46+
#endif
47+
4248
Q_OBJECT
4349

4450
#ifdef SIP_RUN

0 commit comments

Comments
 (0)
Please sign in to comment.