From: vsr Date: Tue, 10 Jul 2007 14:14:44 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: qt4_porting_delivery_220807~102 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a79970ea31aefd827336fb4b86056b194252a6af;p=modules%2Fgui.git *** empty log message *** --- diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index a255224ba..d32f6da9b 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -2204,7 +2204,9 @@ void LightApp_Application::updateWindows() for ( QMap::ConstIterator it = winMap.begin(); it != winMap.end(); ++it ) { getWindow( it.key() ); - DockWidgetArea dock = desktop()->dockWidgetArea( myWindows[it.key()] ); + if ( !myWindows.contains( it.key() ) ) + continue; + DockWidgetArea dock = desktop()->dockWidgetArea( myWindows[it.key()] ); if ( dock != NoDockWidgetArea && dock != (DockWidgetArea)it.value() ) {