WellLogFileCurve. Rename method

This commit is contained in:
Bjørn Erik Jensen
2017-10-24 11:36:52 +02:00
parent 3cd9333fd5
commit 0cb64ef982
2 changed files with 4 additions and 4 deletions

View File

@@ -316,11 +316,11 @@ QList<caf::PdmOptionItemInfo> RimWellLogFileCurve::calculateValueOptions(const c
if (m_wellPath() && m_wellPath->wellLogFiles().size() > 0)
{
bool isRft = isInRftPlot();
bool isRftChild = isRftPlotChild();
for (RimWellLogFile* const wellLogFile : m_wellPath->wellLogFiles())
{
if (!isRft || RimWellRftPlot::hasPressureData(wellLogFile))
if (!isRftChild || RimWellRftPlot::hasPressureData(wellLogFile))
{
QFileInfo fileInfo(wellLogFile->fileName());
options.push_back(caf::PdmOptionItemInfo(fileInfo.baseName(), wellLogFile));
@@ -346,7 +346,7 @@ void RimWellLogFileCurve::initAfterRead()
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RimWellLogFileCurve::isInRftPlot() const
bool RimWellLogFileCurve::isRftPlotChild() const
{
RimWellRftPlot* rftPlot;
firstAncestorOrThisOfType(rftPlot);