From 9f0477ae6b5ed134b93cc83c78652e8820bb6c12 Mon Sep 17 00:00:00 2001 From: stv Date: Tue, 21 Feb 2006 12:18:05 +0000 Subject: [PATCH] Updated SALOME GUI sources for building under Ms Visual .NET on Windows platform. --- src/Qtx/QtxAction.cxx | 2 +- src/Qtx/QtxAction.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2