Added ~QgsDataSourceSelectDialog destructor

This commit is contained in:
Alessandro Pasotti 2018-11-05 10:45:06 +01:00
parent f02345bd8b
commit 64bd7a7ced
2 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,7 @@ Constructs a QgsDataSourceSelectDialog, optionally filtering by layer type
:param parent: the object
%End
~QgsDataSourceSelectDialog();
void setLayerTypeFilter( QgsMapLayer::LayerType layerType );

View File

@ -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
*/