Skip to content

Commit

Permalink
Fix warning on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 2, 2015
1 parent 43a8d72 commit d598069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsuserinputdockwidget.cpp
Expand Up @@ -22,8 +22,8 @@ QgsUserInputDockWidget::QgsUserInputDockWidget( QWidget *parent )
: QDockWidget( tr( "User input" ), parent )
, mLayoutHorizontal( true )
{
QWidget* w = new QWidget( this );
mLayout = new QBoxLayout( QBoxLayout::LeftToRight, this );
QWidget* w = new QWidget( 0 );
mLayout = new QBoxLayout( QBoxLayout::LeftToRight );
mLayout->setAlignment( Qt::AlignLeft | Qt::AlignTop );
w->setLayout( mLayout );
setWidget( w );
Expand Down

0 comments on commit d598069

Please sign in to comment.