Merge pull request #8985 from OPM/8926-remove-useoptionsonly

AppFwk : Remove obsolete useOptionsOnly
This commit is contained in:
Magne Sjaastad
2022-05-29 13:01:27 +02:00
committed by GitHub
parent 2a57adf222
commit f0ce04597d
276 changed files with 333 additions and 657 deletions

View File

@@ -327,8 +327,7 @@ void RimWellRftPlot::updateEditorsFromPreviousSelection()
m_selectedSources.v().clear();
m_selectedTimeSteps.v().clear();
bool dummy = false;
auto dataSourceOptions = calculateValueOptions( &m_selectedSources, &dummy );
auto dataSourceOptions = calculateValueOptions( &m_selectedSources );
for ( const auto& dataSourceOption : dataSourceOptions )
{
if ( dataSourceOption.level() == 1 )
@@ -343,7 +342,7 @@ void RimWellRftPlot::updateEditorsFromPreviousSelection()
// This has to happen after the m_selectedSources is filled
// because the available time steps is dependent on the selected sources.
auto timeStepOptions = calculateValueOptions( &m_selectedTimeSteps, &dummy );
auto timeStepOptions = calculateValueOptions( &m_selectedTimeSteps );
for ( const auto& timeStepOption : timeStepOptions )
{
QDateTime timeStep = timeStepOption.value().toDateTime();
@@ -743,10 +742,9 @@ void RimWellRftPlot::deleteCurvesAssosicatedWithObservedData( const RimObservedF
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
QList<caf::PdmOptionItemInfo> RimWellRftPlot::calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions,
bool* useOptionsOnly )
QList<caf::PdmOptionItemInfo> RimWellRftPlot::calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions )
{
QList<caf::PdmOptionItemInfo> options = RimWellLogPlot::calculateValueOptions( fieldNeedingOptions, useOptionsOnly );
QList<caf::PdmOptionItemInfo> options = RimWellLogPlot::calculateValueOptions( fieldNeedingOptions );
const QString simWellName = associatedSimWellName();