Skip to content
Permalink
Browse files

Fix warning on startup

  • Loading branch information
nyalldawson committed Jun 2, 2015
1 parent 43a8d72 commit d598069779c6624570e52c2fe0f67cff507a3a70
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgsuserinputdockwidget.cpp
@@ -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 );

0 comments on commit d598069

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