We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43a8d72 commit d598069Copy full SHA for d598069
src/gui/qgsuserinputdockwidget.cpp
@@ -22,8 +22,8 @@ QgsUserInputDockWidget::QgsUserInputDockWidget( QWidget *parent )
22
: QDockWidget( tr( "User input" ), parent )
23
, mLayoutHorizontal( true )
24
{
25
- QWidget* w = new QWidget( this );
26
- mLayout = new QBoxLayout( QBoxLayout::LeftToRight, this );
+ QWidget* w = new QWidget( 0 );
+ mLayout = new QBoxLayout( QBoxLayout::LeftToRight );
27
mLayout->setAlignment( Qt::AlignLeft | Qt::AlignTop );
28
w->setLayout( mLayout );
29
setWidget( w );
0 commit comments