mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-11 07:56:08 -06:00
Add some const to GeoMechResultDefinition
To prepare for separate legend update code needed bu #5019
This commit is contained in:
parent
31a698243d
commit
5d03ecb115
@ -601,7 +601,7 @@ bool RimGeoMechResultDefinition::hasResult()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RimGeoMechResultDefinition::resultFieldUiName()
|
||||
QString RimGeoMechResultDefinition::resultFieldUiName() const
|
||||
{
|
||||
return convertToUiResultFieldName( m_resultFieldName() );
|
||||
}
|
||||
@ -609,7 +609,7 @@ QString RimGeoMechResultDefinition::resultFieldUiName()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RimGeoMechResultDefinition::resultComponentUiName()
|
||||
QString RimGeoMechResultDefinition::resultComponentUiName() const
|
||||
{
|
||||
return m_resultComponentName();
|
||||
}
|
||||
|
@ -62,10 +62,10 @@ public:
|
||||
QString diffResultUiShortName() const;
|
||||
void setResultAddress( const RigFemResultAddress& resultAddress );
|
||||
|
||||
QString resultFieldUiName();
|
||||
QString resultComponentUiName();
|
||||
QString resultFieldUiName() const;
|
||||
QString resultComponentUiName() const;
|
||||
|
||||
bool hasCategoryResult()
|
||||
bool hasCategoryResult() const
|
||||
{
|
||||
return m_resultPositionType() == RIG_FORMATION_NAMES;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user