Skip to content
Permalink
Browse files

Avoid warnings

  • Loading branch information
m-kuhn committed Sep 29, 2017
1 parent 9f19665 commit a1fd82042fed450f189151b8d75d8742d6e880df
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/app/qgsattributesformproperties.cpp
@@ -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 );

@@ -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 );

0 comments on commit a1fd820

Please sign in to comment.
You can’t perform that action at this time.