mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor : Use class enum
This commit is contained in:
@@ -147,8 +147,9 @@ void RimStimPlanColors::loadDataAndUpdate()
|
||||
{
|
||||
RimRegularLegendConfig* legendConfig = new RimRegularLegendConfig();
|
||||
legendConfig->resultVariableName = resultNameUnitString;
|
||||
legendConfig->setMappingMode( RimRegularLegendConfig::LINEAR_DISCRETE );
|
||||
legendConfig->setColorLegend( RimRegularLegendConfig::mapToColorLegend( RimRegularLegendConfig::STIMPLAN ) );
|
||||
legendConfig->setMappingMode( RimRegularLegendConfig::MappingType::LINEAR_DISCRETE );
|
||||
legendConfig->setColorLegend(
|
||||
RimRegularLegendConfig::mapToColorLegend( RimRegularLegendConfig::ColorRangesType::STIMPLAN ) );
|
||||
|
||||
m_legendConfigurations.push_back( legendConfig );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user