Refactor: improve api for views and oil fields.

This commit is contained in:
Kristian Bendiksen
2024-04-03 14:53:20 +02:00
parent ef637e3053
commit be3d06c549
21 changed files with 61 additions and 93 deletions

View File

@@ -690,9 +690,7 @@ bool RiaApplication::loadProject( const QString& projectFileName, ProjectLoadAct
}
{
std::vector<Rim3dView*> views;
m_project->allViews( views );
std::vector<Rim3dView*> views = m_project->allViews();
for ( auto view : views )
{
if ( auto eclipseView = dynamic_cast<RimEclipseView*>( view ) )