From 0f62455b5aadea95c79ed6a42871ed1b85f90bc1 Mon Sep 17 00:00:00 2001 From: adv Date: Wed, 13 Nov 2013 08:20:06 +0000 Subject: [PATCH] Linux compilation. --- src/HYDROGUI/HYDROGUI_CalculationDlg.cxx | 2 +- src/HYDROGUI/HYDROGUI_CalculationDlg.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.2