diff --git a/python/gui/auto_generated/qgsdatasourceselectdialog.sip.in b/python/gui/auto_generated/qgsdatasourceselectdialog.sip.in index 4b958beb4e5..b478fa2d421 100644 --- a/python/gui/auto_generated/qgsdatasourceselectdialog.sip.in +++ b/python/gui/auto_generated/qgsdatasourceselectdialog.sip.in @@ -44,6 +44,7 @@ Constructs a QgsDataSourceSelectDialog, optionally filtering by layer type :param parent: the object %End + ~QgsDataSourceSelectDialog(); void setLayerTypeFilter( QgsMapLayer::LayerType layerType ); diff --git a/src/gui/qgsdatasourceselectdialog.h b/src/gui/qgsdatasourceselectdialog.h index b1c8c1b56b4..956b12614d0 100644 --- a/src/gui/qgsdatasourceselectdialog.h +++ b/src/gui/qgsdatasourceselectdialog.h @@ -60,6 +60,9 @@ class GUI_EXPORT QgsDataSourceSelectDialog: public QDialog, private Ui::QgsDataS const QgsMapLayer::LayerType &layerType = QgsMapLayer::LayerType::VectorLayer, QWidget *parent = nullptr ); + + ~QgsDataSourceSelectDialog() override; + /** * Sets layer type filter to \a layerType and activates the filtering */