Skip to content

Commit

Permalink
initialize member variable
Browse files Browse the repository at this point in the history
  • Loading branch information
signedav committed Aug 13, 2020
1 parent e4691e6 commit 5c1676f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/qgsattributeeditorelement.h
Expand Up @@ -500,7 +500,7 @@ class CORE_EXPORT QgsAttributeEditorRelation : public QgsAttributeEditorElement
QString mRelationId;
QgsRelation mRelation;
Buttons mButtons = Buttons( Button::AllButtons );
bool mForceSuppressFormPopup;
bool mForceSuppressFormPopup = false;
QVariant mNmRelationId;
};

Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsrelationeditorwidget.h
Expand Up @@ -320,7 +320,7 @@ class GUI_EXPORT QgsRelationEditorWidget : public QgsCollapsibleGroupBox
bool mShowLabel = true;
bool mVisible = false;

bool mForceSuppressFormPopup;
bool mForceSuppressFormPopup = false;
QVariant mNmRelationId;

/**
Expand Down
Expand Up @@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
<string>Attribute Widget Relation Edit Widget</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
Expand Down

0 comments on commit 5c1676f

Please sign in to comment.