From: vsr Date: Fri, 18 Jul 2008 12:23:23 +0000 (+0000) Subject: Fix porting error X-Git-Tag: TG_TRIPOLI_qt4_porting~46 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=62466fa35c9df94bb9bc282a24cfc40f74218b53;p=modules%2Fgui.git Fix porting error --- diff --git a/src/Qtx/QtxWorkstack.cxx b/src/Qtx/QtxWorkstack.cxx index 47ddd7e78..9a5794f29 100644 --- a/src/Qtx/QtxWorkstack.cxx +++ b/src/Qtx/QtxWorkstack.cxx @@ -3144,12 +3144,11 @@ QtxWorkstackArea* QtxWorkstack::wgArea( QWidget* wid ) const QList areaList; areas( mySplit, areaList, true ); - QtxWorkstackArea* area; QList::ConstIterator it; for ( it = areaList.begin(); it != areaList.end() && !resArea; ++it ) { if ( (*it)->contains( wid ) ) - resArea = area; + resArea = *it; } return resArea;