Fix incorrect ownership of processing algorithm dialog

This commit is contained in:
Nyall Dawson 2018-11-17 14:48:08 +10:00
parent 57c117cdf4
commit 4d97d20635
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ Base class for processing algorithm dialogs.
FormatHtml,
};
QgsProcessingAlgorithmDialogBase( QWidget *parent = 0, Qt::WindowFlags flags = 0 );
QgsProcessingAlgorithmDialogBase( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = 0 );
%Docstring
Constructor for QgsProcessingAlgorithmDialogBase.
%End

View File

@ -98,7 +98,7 @@ class GUI_EXPORT QgsProcessingAlgorithmDialogBase : public QDialog, private Ui::
/**
* Constructor for QgsProcessingAlgorithmDialogBase.
*/
QgsProcessingAlgorithmDialogBase( QWidget *parent = nullptr, Qt::WindowFlags flags = nullptr );
QgsProcessingAlgorithmDialogBase( QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags flags = nullptr );
/**
* Sets the \a algorithm to run in the dialog.