Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9110 from m-kuhn/sip-no-default-parameter-override
Do not remove parameters from virtual methods which should be used in…
  • Loading branch information
m-kuhn committed Feb 6, 2019
2 parents db15057 + 1a87fce commit 2745dfe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Expand Up @@ -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 );
Expand Down
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsattributeformeditorwidget.h
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsattributeformrelationeditorwidget.h
Expand Up @@ -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:
Expand Down

0 comments on commit 2745dfe

Please sign in to comment.