From 62466fa35c9df94bb9bc282a24cfc40f74218b53 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 18 Jul 2008 12:23:23 +0000 Subject: [PATCH] Fix porting error --- src/Qtx/QtxWorkstack.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.39.2