mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge pull request #8985 from OPM/8926-remove-useoptionsonly
AppFwk : Remove obsolete useOptionsOnly
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user