]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Linux compilation.
authoradv <adv@opencascade.com>
Wed, 13 Nov 2013 08:20:06 +0000 (08:20 +0000)
committeradv <adv@opencascade.com>
Wed, 13 Nov 2013 08:20:06 +0000 (08:20 +0000)
src/HYDROGUI/HYDROGUI_CalculationDlg.cxx
src/HYDROGUI/HYDROGUI_CalculationDlg.h

index 7694feb6bf154fc6e2a9587c05c093fe1b691729..42ba2cbf9f7c76f1ecea73970530269d3e36d58d 100644 (file)
@@ -352,7 +352,7 @@ void HYDROGUI_CalculationDlg::excludeGeomObjects( const QStringList& theObjects
   }
 }
 
-void HYDROGUI_CalculationDlg::setBoundary( QString& theObjName )
+void HYDROGUI_CalculationDlg::setBoundary( const QString& theObjName )
 {
   bool isBlocked = myPolylineName->blockSignals( true );
   myPolylineName->setCurrentIndex( myPolylineName->findText( theObjName ) );
index 8a9fdfb8275f5b71ea3562f30f2319a3b2c81514..15b7578baca31ffc6f291ffe1d347e9ec22da044 100644 (file)
@@ -60,7 +60,7 @@ public:
   HYDROGUI_Zone*             getCurrentZone() const;
 
 public slots:
-  void                       setBoundary( QString& theObjName );
+  void                       setBoundary( const QString& theObjName );
   void                       includeGeomObjects( const QStringList& theObjects );
   void                       excludeGeomObjects( const QStringList& theObjects );
   void                       onEmptyName();