Skip to content

Commit fd63231

Browse files
author
mhugent
committedDec 13, 2008
Don't set two parents for the same layout. Fixes problems in grass module widget with qt-4.3.4 (and warning message on console on later versions)
git-svn-id: http://svn.osgeo.org/qgis/trunk@9785 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent cefa3e9 commit fd63231

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎src/plugins/grass/qgsgrassmodule.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,6 @@ QgsGrassModuleStandardOptions::QgsGrassModuleStandardOptions(
374374
//
375375
QVBoxLayout * mypOuterLayout = new QVBoxLayout( mParent );
376376
mypOuterLayout->setContentsMargins( 0, 0, 0, 0 );
377-
//transfers layout ownership so no need to call delete
378-
this->setLayout( mypOuterLayout );
379377
QScrollArea * mypScrollArea = new QScrollArea();
380378
//transfers scroll area ownership so no need to call delete
381379
mypOuterLayout->addWidget( mypScrollArea );

0 commit comments

Comments
 (0)
Please sign in to comment.