]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Updated SALOME GUI sources for building under Ms Visual .NET on Windows platform.
authorstv <stv@opencascade.com>
Tue, 21 Feb 2006 12:18:05 +0000 (12:18 +0000)
committerstv <stv@opencascade.com>
Tue, 21 Feb 2006 12:18:05 +0000 (12:18 +0000)
src/Qtx/QtxAction.cxx
src/Qtx/QtxAction.h

index 9fafdb7ac1c0a48a741ce859435264fca581e37c..88116c5851e6c41716ef914e6a31c7a01140ebeb 100755 (executable)
@@ -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;
index ffffcc4d8594cae01b49f63a02bfdd3a94bc388d..e6d3901066a100b3271fb3a20f08584fc4fba7e5 100755 (executable)
@@ -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;