Skip to content

Commit 1a87fce

Browse files
committedFeb 6, 2019
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
1 parent 7f0ab8b commit 1a87fce

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
 

‎python/gui/auto_generated/qgsattributeformeditorwidget.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Constructor for QgsAttributeFormEditorWidget.
3838

3939
~QgsAttributeFormEditorWidget();
4040

41-
virtual void createSearchWidgetWrappers();
41+
virtual void createSearchWidgetWrappers( const QgsAttributeEditorContext &context = QgsAttributeEditorContext() );
4242

4343

4444
void initialize( const QVariant &initialValue, bool mixedValues = false );

‎python/gui/auto_generated/qgsattributeformrelationeditorwidget.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Widget to show for child relations on an attribute form.
2929
Constructor
3030
%End
3131

32-
virtual void createSearchWidgetWrappers();
32+
virtual void createSearchWidgetWrappers( const QgsAttributeEditorContext &context = QgsAttributeEditorContext() );
3333

3434
virtual QString currentFilterExpression() const;
3535

‎src/gui/qgsattributeformeditorwidget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class GUI_EXPORT QgsAttributeFormEditorWidget : public QgsAttributeFormWidget
5757

5858
~QgsAttributeFormEditorWidget() override;
5959

60-
void createSearchWidgetWrappers( const QgsAttributeEditorContext &context SIP_PYARGREMOVE = QgsAttributeEditorContext() ) override;
60+
void createSearchWidgetWrappers( const QgsAttributeEditorContext &context = QgsAttributeEditorContext() ) override;
6161

6262
/**
6363
* Resets the widget to an initial value.

‎src/gui/qgsattributeformrelationeditorwidget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class GUI_EXPORT QgsAttributeFormRelationEditorWidget : public QgsAttributeFormW
4141
*/
4242
explicit QgsAttributeFormRelationEditorWidget( QgsRelationWidgetWrapper *wrapper, QgsAttributeForm *form );
4343

44-
void createSearchWidgetWrappers( const QgsAttributeEditorContext &context SIP_PYARGREMOVE = QgsAttributeEditorContext() ) override;
44+
void createSearchWidgetWrappers( const QgsAttributeEditorContext &context = QgsAttributeEditorContext() ) override;
4545
QString currentFilterExpression() const override;
4646

4747
private:

0 commit comments

Comments
 (0)
Please sign in to comment.