Do not remove parameters from virtual methods which should be used in python

These methods did not actually override their parent methods but just coexisted and were never called.

Fixes compilation with SIP version: 4.19.14
This commit is contained in:
Matthias Kuhn 2019-02-06 10:26:53 +01:00
parent 7f0ab8b9ff
commit 1a87fce33c
No known key found for this signature in database
GPG Key ID: 7A7F1A1C90C3E6A7
4 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ Constructor for QgsAttributeFormEditorWidget.
~QgsAttributeFormEditorWidget();
virtual void createSearchWidgetWrappers();
virtual void createSearchWidgetWrappers( const QgsAttributeEditorContext &context = QgsAttributeEditorContext() );
void initialize( const QVariant &initialValue, bool mixedValues = false );

View File

@ -29,7 +29,7 @@ Widget to show for child relations on an attribute form.
Constructor
%End
virtual void createSearchWidgetWrappers();
virtual void createSearchWidgetWrappers( const QgsAttributeEditorContext &context = QgsAttributeEditorContext() );
virtual QString currentFilterExpression() const;

View File

@ -57,7 +57,7 @@ class GUI_EXPORT QgsAttributeFormEditorWidget : public QgsAttributeFormWidget
~QgsAttributeFormEditorWidget() override;
void createSearchWidgetWrappers( const QgsAttributeEditorContext &context SIP_PYARGREMOVE = QgsAttributeEditorContext() ) override;
void createSearchWidgetWrappers( const QgsAttributeEditorContext &context = QgsAttributeEditorContext() ) override;
/**
* Resets the widget to an initial value.

View File

@ -41,7 +41,7 @@ class GUI_EXPORT QgsAttributeFormRelationEditorWidget : public QgsAttributeFormW
*/
explicit QgsAttributeFormRelationEditorWidget( QgsRelationWidgetWrapper *wrapper, QgsAttributeForm *form );
void createSearchWidgetWrappers( const QgsAttributeEditorContext &context SIP_PYARGREMOVE = QgsAttributeEditorContext() ) override;
void createSearchWidgetWrappers( const QgsAttributeEditorContext &context = QgsAttributeEditorContext() ) override;
QString currentFilterExpression() const override;
private: