Skip to content
Permalink
Browse files
Transfer ownership of item
  • Loading branch information
m-kuhn committed Aug 26, 2018
1 parent f177228 commit 212cd20791bfb43236dcad87a40da5fc528146e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -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.