Remove field accessor method. Adjusted whitespace

This commit is contained in:
Jacob Støren
2017-10-06 13:34:45 +02:00
parent 9bb5dcf011
commit 62b8da837f
3 changed files with 23 additions and 26 deletions

View File

@@ -240,11 +240,11 @@ QList<caf::PdmOptionItemInfo> RimWellLogFileCurve::calculateValueOptions(const c
RimWellLogFile* wellLogFile = m_wellPath->wellLogFile();
if (wellLogFile)
{
const caf::PdmChildArrayField<RimWellLogFileChannel*>* fileLogs = wellLogFile->wellLogChannelNames();
std::vector<RimWellLogFileChannel*> fileLogs = wellLogFile->wellLogChannels();
for (size_t i = 0; i < fileLogs->size(); i++)
for (size_t i = 0; i < fileLogs.size(); i++)
{
QString wellLogChannelName = (*fileLogs)[i]->name();
QString wellLogChannelName = fileLogs[i]->name();
options.push_back(caf::PdmOptionItemInfo(wellLogChannelName, wellLogChannelName));
}
}