Skip to content
Browse files

add virtual destructor

fix warning: delete called on 'QgsEditorWidgetAutoConfPlugin' that is abstract but has non-virtual destructor
  • Loading branch information
3nids committed Mar 28, 2018
1 parent e252f5c commit 721095e89dbc53569ee9253c0e7727a748639b17
@@ -21,6 +21,8 @@ Base class for plugins allowing to pick automatically a widget type for editing

virtual ~QgsEditorWidgetAutoConfPlugin();

virtual QgsEditorWidgetSetup editorWidgetSetup( const QgsVectorLayer *vl, const QString &fieldName, int &score /Out/ ) const = 0;
Typical scores are:
@@ -33,6 +33,8 @@ class GUI_EXPORT QgsEditorWidgetAutoConfPlugin

virtual ~QgsEditorWidgetAutoConfPlugin() {}

* Typical scores are:
* * 0: no matching type found.

0 comments on commit 721095e

Please sign in to comment.
You can’t perform that action at this time.