Skip to content

Commit

Permalink
Avoid warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 29, 2017
1 parent 9f19665 commit a1fd820
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/qgsattributesformproperties.cpp
Expand Up @@ -33,7 +33,6 @@ QgsAttributesFormProperties::QgsAttributesFormProperties( QgsVectorLayer *layer,
// AttributeTypeDialog
mAttributeTypeDialog = new QgsAttributeTypeDialog( mLayer, 0, mAttributeTypeFrame );
mAttributeTypeDialog->layout()->setMargin( 0 );
mAttributeTypeFrame->setLayout( new QVBoxLayout( mAttributeTypeFrame ) );
mAttributeTypeFrame->layout()->setMargin( 0 );
mAttributeTypeFrame->layout()->addWidget( mAttributeTypeDialog );

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

mAttributeTypeDialog->layout()->setMargin( 0 );
mAttributeTypeFrame->setLayout( new QVBoxLayout( mAttributeTypeFrame ) );
mAttributeTypeFrame->layout()->setMargin( 0 );

mAttributeTypeFrame->layout()->addWidget( mAttributeTypeDialog );
Expand Down

0 comments on commit a1fd820

Please sign in to comment.