Skip to content

Commit

Permalink
replace deprecated setMargin() with setContentsMargins()
Browse files Browse the repository at this point in the history
  • Loading branch information
uclaros committed Dec 15, 2022
1 parent 829e226 commit ea22a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editorwidgets/qgsvaluerelationwidgetwrapper.cpp
Expand Up @@ -59,7 +59,7 @@ QgsFilteredTableWidget::QgsFilteredTableWidget( QWidget *parent, bool showSearch
QVBoxLayout *layout = new QVBoxLayout();
layout->addWidget( mSearchWidget );
layout->addWidget( mTableWidget );
layout->setMargin( 0 );
layout->setContentsMargins( 0, 0, 0, 0 );
layout->setSpacing( 0 );
if ( showSearch )
{
Expand Down

0 comments on commit ea22a24

Please sign in to comment.