From: stv Date: Tue, 21 Feb 2006 14:04:22 +0000 (+0000) Subject: Updated SALOME GUI sources for building under Ms Visual .NET on Windows platform. X-Git-Tag: LAST_STABLE_VERSION_21_09_2006_ON_3_2_0~105 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=93a07340a9e971ee4204af7d7c516d70e6002b02;p=modules%2Fgui.git Updated SALOME GUI sources for building under Ms Visual .NET on Windows platform. --- diff --git a/src/OCCViewer/OCCViewer_CreateRestoreViewDlg.cxx b/src/OCCViewer/OCCViewer_CreateRestoreViewDlg.cxx index a79d5f2c7..0f6fb703c 100755 --- a/src/OCCViewer/OCCViewer_CreateRestoreViewDlg.cxx +++ b/src/OCCViewer/OCCViewer_CreateRestoreViewDlg.cxx @@ -108,7 +108,7 @@ void OCCViewer_CreateRestoreViewDlg::changeImage( QListBoxItem* curItem ) int index = curItem->listBox()->index( curItem ); if( myKeyFlag == 2 ) { - for( int i = 0; i < myListBox->count(); i++ ) + for( int i = 0; i < (int)myListBox->count(); i++ ) { if( myListBox->isSelected( i ) && i != index ) { @@ -156,11 +156,11 @@ void OCCViewer_CreateRestoreViewDlg::deleteSelectedItems() if( myListBox->count() && myListBox->isEditEnabled() ) { int curIndex = -1; - for( int i = 0; i < myListBox->count(); i++ ) + for( int i = 0; i < (int)myListBox->count(); i++ ) if( myListBox->isSelected( i ) ) { myListBox->removeItem( i ); - for( int j = i; j < myParametersMap.count(); j++ ) + for( int j = i; j < (int)myParametersMap.count(); j++ ) if( j != myParametersMap.count() - 1 ) myParametersMap[ j ] = myParametersMap[ j + 1 ]; else diff --git a/src/OCCViewer/OCCViewer_ViewModel.cxx b/src/OCCViewer/OCCViewer_ViewModel.cxx index 216c9ec84..6b74a7fc5 100755 --- a/src/OCCViewer/OCCViewer_ViewModel.cxx +++ b/src/OCCViewer/OCCViewer_ViewModel.cxx @@ -220,7 +220,7 @@ void OCCViewer_Viewer::enableSelection(bool isEnabled) return; QPtrVector wins = myViewManager->getViews(); - for ( int i = 0; i < wins.count(); i++ ) + for ( int i = 0; i < (int)wins.count(); i++ ) { OCCViewer_ViewWindow* win = ::qt_cast( wins.at( i ) ); if ( win ) @@ -237,7 +237,7 @@ void OCCViewer_Viewer::enableMultiselection(bool isEnable) return; QPtrVector wins = myViewManager->getViews(); - for ( int i = 0; i < wins.count(); i++ ) + for ( int i = 0; i < (int)wins.count(); i++ ) { OCCViewer_ViewWindow* win = ::qt_cast( wins.at( i ) ); if ( win )