Skip to content

Commit 59e710c

Browse files
committed
Fix QgsDataItem python bindings - transfer of ownership
1 parent cdb44a3 commit 59e710c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/core/qgsdataitem.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class QgsDataItem : QObject
1414
};
1515

1616
/** Create new data item. */
17-
QgsDataItem( QgsDataItem::Type type, QgsDataItem* parent, QString name, QString path );
17+
QgsDataItem( QgsDataItem::Type type, QgsDataItem* parent /TransferThis/, QString name, QString path );
1818
virtual ~QgsDataItem();
1919

2020
bool hasChildren();

0 commit comments

Comments
 (0)