From 0529cf82ad71e89a7da24e47645490b848b0cc13 Mon Sep 17 00:00:00 2001 From: sln Date: Tue, 8 Nov 2005 15:56:45 +0000 Subject: [PATCH] Eroor of windows compilation fixed --- src/LightApp/LightApp_Application.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 ) ), -- 2.39.2