Refactor: register keyword aliases for WellLogFile.

This commit is contained in:
Kristian Bendiksen
2024-06-17 14:37:57 +02:00
parent 81eca2c893
commit 80f269715b
9 changed files with 23 additions and 18 deletions

View File

@@ -57,7 +57,7 @@ RimOsduWellLog::RimOsduWellLog()
//--------------------------------------------------------------------------------------------------
RimOsduWellLog::~RimOsduWellLog()
{
m_wellLogChannelNames.deleteChildren();
m_wellLogChannels.deleteChildren();
}
//--------------------------------------------------------------------------------------------------
@@ -153,13 +153,13 @@ void RimOsduWellLog::setWellLogData( RigOsduWellLogData* wellLogData )
{
m_wellLogData = wellLogData;
m_wellLogChannelNames.deleteChildren();
m_wellLogChannels.deleteChildren();
for ( const QString& wellLogName : wellLogData->wellLogChannelNames() )
{
RimWellLogChannel* wellLog = new RimWellLogChannel();
wellLog->setName( wellLogName );
m_wellLogChannelNames.push_back( wellLog );
m_wellLogChannels.push_back( wellLog );
}
}