Skip to content

Commit d598069

Browse files
committed
Fix warning on startup
1 parent 43a8d72 commit d598069

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gui/qgsuserinputdockwidget.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ QgsUserInputDockWidget::QgsUserInputDockWidget( QWidget *parent )
2222
: QDockWidget( tr( "User input" ), parent )
2323
, mLayoutHorizontal( true )
2424
{
25-
QWidget* w = new QWidget( this );
26-
mLayout = new QBoxLayout( QBoxLayout::LeftToRight, this );
25+
QWidget* w = new QWidget( 0 );
26+
mLayout = new QBoxLayout( QBoxLayout::LeftToRight );
2727
mLayout->setAlignment( Qt::AlignLeft | Qt::AlignTop );
2828
w->setLayout( mLayout );
2929
setWidget( w );

0 commit comments

Comments
 (0)