Skip to content

Commit a1fd820

Browse files
committedSep 29, 2017
Avoid warnings
1 parent 9f19665 commit a1fd820

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎src/app/qgsattributesformproperties.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ QgsAttributesFormProperties::QgsAttributesFormProperties( QgsVectorLayer *layer,
3333
// AttributeTypeDialog
3434
mAttributeTypeDialog = new QgsAttributeTypeDialog( mLayer, 0, mAttributeTypeFrame );
3535
mAttributeTypeDialog->layout()->setMargin( 0 );
36-
mAttributeTypeFrame->setLayout( new QVBoxLayout( mAttributeTypeFrame ) );
3736
mAttributeTypeFrame->layout()->setMargin( 0 );
3837
mAttributeTypeFrame->layout()->addWidget( mAttributeTypeDialog );
3938

@@ -108,7 +107,6 @@ void QgsAttributesFormProperties::loadAttributeTypeDialog()
108107
mAttributeTypeDialog->setEditorWidgetType( cfg.mEditorWidgetType );
109108

110109
mAttributeTypeDialog->layout()->setMargin( 0 );
111-
mAttributeTypeFrame->setLayout( new QVBoxLayout( mAttributeTypeFrame ) );
112110
mAttributeTypeFrame->layout()->setMargin( 0 );
113111

114112
mAttributeTypeFrame->layout()->addWidget( mAttributeTypeDialog );

0 commit comments

Comments
 (0)
Please sign in to comment.