From: stv Date: Tue, 21 Feb 2006 12:18:05 +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~107 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9f0477ae6b5ed134b93cc83c78652e8820bb6c12;p=modules%2Fgui.git Updated SALOME GUI sources for building under Ms Visual .NET on Windows platform. --- diff --git a/src/Qtx/QtxAction.cxx b/src/Qtx/QtxAction.cxx index 9fafdb7ac..88116c585 100755 --- a/src/Qtx/QtxAction.cxx +++ b/src/Qtx/QtxAction.cxx @@ -91,7 +91,7 @@ bool QtxAction::addTo( QWidget* w ) successfully and false otherwise. */ -bool QtxAction::addTo( QWidget* w, int index ) +bool QtxAction::addTo( QWidget* w, const int index ) { if ( !addTo( w ) ) return false; diff --git a/src/Qtx/QtxAction.h b/src/Qtx/QtxAction.h index ffffcc4d8..e6d390106 100755 --- a/src/Qtx/QtxAction.h +++ b/src/Qtx/QtxAction.h @@ -37,7 +37,7 @@ public: virtual ~QtxAction(); virtual bool addTo( QWidget* ); - virtual bool addTo( QWidget*, int ); + virtual bool addTo( QWidget*, const int ); protected: void setPopup( QPopupMenu*, const int, QPopupMenu* ) const;