mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-27 07:30:20 -05:00
Refactor: Move updateChannelsFromWellLogData to base class RimWellLog
This commit is contained in:
1 parent
160cb71168
commit
9326da7965
6 files changed
+24
-37
No files matched your search
@@ -142,15 +142,7 @@ bool RimWellLogLasFile::readFile( QString* errorMessage )
|
||||
m_date = DEFAULT_DATE_TIME;
|
||||
}
|
||||
|
||||
m_wellLogChannels.deleteChildren();
|
||||
|
||||
QStringList wellLogNames = m_wellLogDataFile->wellLogChannelNames();
|
||||
for ( int logIdx = 0; logIdx < wellLogNames.size(); logIdx++ )
|
||||
{
|
||||
RimWellLogChannel* wellLog = new RimWellLogChannel();
|
||||
wellLog->setName( wellLogNames[logIdx] );
|
||||
m_wellLogChannels.push_back( wellLog );
|
||||
}
|
||||
updateChannelsFromWellLogData( m_wellLogDataFile.p() );
|
||||
|
||||
auto fileWellPath = firstAncestorOrThisOfType<RimFileWellPath>();
|
||||
if ( fileWellPath )
|
||||
|
||||
Reference in new issue
Block a user