Skip to content

Commit

Permalink
Add missing Transfer annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 5, 2020
1 parent c8e86ae commit 83e48c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -44,7 +44,7 @@ Constructor for LayerOptions.

QgsAnnotationLayer( const QString &name, const QgsAnnotationLayer::LayerOptions &options );

void addItem( QgsAnnotationItem *item );
void addItem( QgsAnnotationItem *item /Transfer/ );


const QMap<QString, QgsAnnotationItem *> &items() const;
Expand Down
2 changes: 1 addition & 1 deletion src/core/annotations/qgsannotationlayer.h
Expand Up @@ -55,7 +55,7 @@ class CORE_EXPORT QgsAnnotationLayer : public QgsMapLayer

QgsAnnotationLayer( const QString &name, const QgsAnnotationLayer::LayerOptions &options );

void addItem( QgsAnnotationItem *item );
void addItem( QgsAnnotationItem *item SIP_TRANSFER );

//KadasMapItem *takeItem( const QString &itemId );

Expand Down

0 comments on commit 83e48c0

Please sign in to comment.