Author: coolo Date: Tue Dec 11 20:57:16 2007 New Revision: 42991 URL: http://svn.opensuse.org/viewcvs/yast?rev=42991&view=rev Log: don't add layouts twice Modified: trunk/qt4/src/YQWizard.cc Modified: trunk/qt4/src/YQWizard.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt4/src/YQWizard.cc?rev=42991&r1=42990&r2=42991&view=diff ============================================================================== --- trunk/qt4/src/YQWizard.cc (original) +++ trunk/qt4/src/YQWizard.cc Tue Dec 11 20:57:16 2007 @@ -278,7 +278,8 @@ return; // Create a grid layout for the steps - QVBoxLayout *_stepsVBox = new QVBoxLayout( _stepsPanel ); + QVBoxLayout *_stepsVBox = new QVBoxLayout(); + _stepsPanel->setLayout( _stepsVBox ); QGridLayout *_stepsGrid = new QGridLayout( ); YUI_CHECK_NEW( _stepsGrid ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org