Skip to content
Permalink
Browse files

Transfer ownership of item

  • Loading branch information
m-kuhn committed Aug 26, 2018
1 parent f177228 commit 212cd20791bfb43236dcad87a40da5fc528146e3
Showing with 2 additions and 2 deletions.
  1. +1 −1 python/gui/auto_generated/qgssnaptogridcanvasitem.sip.in
  2. +1 −1 src/gui/qgssnaptogridcanvasitem.h
@@ -23,7 +23,7 @@ Shows a grid on the map canvas given a spatial resolution.
%End
public:

QgsSnapToGridCanvasItem( QgsMapCanvas *mapCanvas );
QgsSnapToGridCanvasItem( QgsMapCanvas *mapCanvas /TransferThis/ );
%Docstring
Will automatically be added to the ``mapCanvas``.
%End
@@ -39,7 +39,7 @@ class GUI_EXPORT QgsSnapToGridCanvasItem : public QObject, public QgsMapCanvasIt
/**
* Will automatically be added to the \a mapCanvas.
*/
QgsSnapToGridCanvasItem( QgsMapCanvas *mapCanvas );
QgsSnapToGridCanvasItem( QgsMapCanvas *mapCanvas SIP_TRANSFERTHIS );

void paint( QPainter *painter ) override;

0 comments on commit 212cd20

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