Skip to content

Commit e38bd65

Browse files
committedOct 26, 2017
Leakyleak
1 parent 114a4ec commit e38bd65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/gui/qgsattributeformeditorwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ QgsAttributeFormEditorWidget::QgsAttributeFormEditorWidget( QgsEditorWidgetWrapp
3737
, mIsMixed( false )
3838
, mIsChanged( false )
3939
{
40-
mConstraintResultLabel = new QLabel();
40+
mConstraintResultLabel = new QLabel( this );
4141
mConstraintResultLabel->setObjectName( QStringLiteral( "ConstraintStatus" ) );
4242
mConstraintResultLabel->setSizePolicy( QSizePolicy::Fixed, mConstraintResultLabel->sizePolicy().verticalPolicy() );
4343

‎src/gui/qgsattributeformeditorwidget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class GUI_EXPORT QgsAttributeFormEditorWidget : public QWidget
209209
QgsEditorWidgetWrapper *mWidget = nullptr;
210210
QList< QgsSearchWidgetWrapper * > mSearchWidgets;
211211
QgsAttributeForm *mForm = nullptr;
212-
QLabel *mConstraintResultLabel;
212+
QLabel *mConstraintResultLabel = nullptr;
213213
Mode mMode;
214214

215215
QgsMultiEditToolButton *mMultiEditButton = nullptr;

0 commit comments

Comments
 (0)
Please sign in to comment.