From c6840bd0e602e97ab5c44393799c94707788b17f Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Mon, 5 Feb 2018 07:26:08 -0400 Subject: [PATCH] remove ownesrhip transfer --- python/gui/qgsoptionswidgetfactory.sip.in | 2 +- src/gui/qgsoptionswidgetfactory.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/gui/qgsoptionswidgetfactory.sip.in b/python/gui/qgsoptionswidgetfactory.sip.in index b5a5ecfa52e..a68b85dedc6 100644 --- a/python/gui/qgsoptionswidgetfactory.sip.in +++ b/python/gui/qgsoptionswidgetfactory.sip.in @@ -51,7 +51,7 @@ QgsSettings objects). This is usually called when the options dialog is accepted protected: - void registerHighlightWidget( QgsOptionsDialogHighlightWidget *highlightWidget /Transfer/ ); + void registerHighlightWidget( QgsOptionsDialogHighlightWidget *highlightWidget ); %Docstring Register a highlight widget to be used to search and highlight text in options dialogs. This can be used to provide a custom implementation of diff --git a/src/gui/qgsoptionswidgetfactory.h b/src/gui/qgsoptionswidgetfactory.h index c857286beb1..6683af4718c 100644 --- a/src/gui/qgsoptionswidgetfactory.h +++ b/src/gui/qgsoptionswidgetfactory.h @@ -75,7 +75,7 @@ class GUI_EXPORT QgsOptionsPageWidget : public QWidget * options dialogs. This can be used to provide a custom implementation of * QgsOptionsDialogHighlightWidget. */ - void registerHighlightWidget( QgsOptionsDialogHighlightWidget *highlightWidget SIP_TRANSFER ) + void registerHighlightWidget( QgsOptionsDialogHighlightWidget *highlightWidget ) { mHighlighWidgets.insert( highlightWidget->widget(), highlightWidget ); }