From: adv Date: Wed, 13 Nov 2013 08:20:06 +0000 (+0000) Subject: Linux compilation. X-Git-Tag: BR_hydro_v_0_3~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0f62455b5aadea95c79ed6a42871ed1b85f90bc1;p=modules%2Fhydro.git Linux compilation. --- diff --git a/src/HYDROGUI/HYDROGUI_CalculationDlg.cxx b/src/HYDROGUI/HYDROGUI_CalculationDlg.cxx index 7694feb6..42ba2cbf 100644 --- a/src/HYDROGUI/HYDROGUI_CalculationDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_CalculationDlg.cxx @@ -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 ) ); diff --git a/src/HYDROGUI/HYDROGUI_CalculationDlg.h b/src/HYDROGUI/HYDROGUI_CalculationDlg.h index 8a9fdfb8..15b7578b 100644 --- a/src/HYDROGUI/HYDROGUI_CalculationDlg.h +++ b/src/HYDROGUI/HYDROGUI_CalculationDlg.h @@ -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();