From: sln Date: Tue, 8 Nov 2005 15:56:45 +0000 (+0000) Subject: Eroor of windows compilation fixed X-Git-Tag: V3_1_0a3~53 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0529cf82ad71e89a7da24e47645490b848b0cc13;p=modules%2Fgui.git Eroor of windows compilation fixed --- diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index d6c503e68..62f472bca 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -353,7 +353,8 @@ void LightApp_Application::createActions() id++; } // help for other existing modules - for ( QStringList::Iterator it = aModuleList.begin(); it != aModuleList.end(); ++it ) + QStringList::Iterator it; + for ( it = aModuleList.begin(); it != aModuleList.end(); ++it ) { if ( (*it).isEmpty() ) continue; @@ -408,7 +409,7 @@ void LightApp_Application::createActions() QStringList modList; modules( modList, false ); - for ( QStringList::Iterator it = modList.begin(); it != modList.end(); ++it ) + for ( it = modList.begin(); it != modList.end(); ++it ) { if ( (*it).isEmpty() ) continue; @@ -445,7 +446,7 @@ void LightApp_Application::createActions() accelMap[NewOCCViewId] = ALT+Key_O; accelMap[NewVTKViewId] = ALT+Key_K; - for ( int id = NewGLViewId; id <= NewVTKViewId; id++ ) + for ( id = NewGLViewId; id <= NewVTKViewId; id++ ) { QAction* a = createAction( id, tr( QString( "NEW_WINDOW_%1" ).arg( id - NewGLViewId ) ), QIconSet(), tr( QString( "NEW_WINDOW_%1" ).arg( id - NewGLViewId ) ),