Skip to content

Commit 4d97d20

Browse files
committedNov 23, 2018
Fix incorrect ownership of processing algorithm dialog
1 parent 57c117c commit 4d97d20

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎python/gui/auto_generated/processing/qgsprocessingalgorithmdialogbase.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Base class for processing algorithm dialogs.
3434
FormatHtml,
3535
};
3636

37-
QgsProcessingAlgorithmDialogBase( QWidget *parent = 0, Qt::WindowFlags flags = 0 );
37+
QgsProcessingAlgorithmDialogBase( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = 0 );
3838
%Docstring
3939
Constructor for QgsProcessingAlgorithmDialogBase.
4040
%End

‎src/gui/processing/qgsprocessingalgorithmdialogbase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class GUI_EXPORT QgsProcessingAlgorithmDialogBase : public QDialog, private Ui::
9898
/**
9999
* Constructor for QgsProcessingAlgorithmDialogBase.
100100
*/
101-
QgsProcessingAlgorithmDialogBase( QWidget *parent = nullptr, Qt::WindowFlags flags = nullptr );
101+
QgsProcessingAlgorithmDialogBase( QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags flags = nullptr );
102102

103103
/**
104104
* Sets the \a algorithm to run in the dialog.

0 commit comments

Comments
 (0)
Please sign in to comment.