mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05:00
Replace RiaApplication::instance()->project() with RimProject::current().
Also remove uneccessary includes of RiaApplication.h.
This commit is contained in:
1 parent
7972ff8c02
commit
c016c02e40
263 files changed
+320
-610
No files matched your search
@@ -33,7 +33,6 @@
|
||||
#include "RimProject.h"
|
||||
#include "RimWellPath.h"
|
||||
|
||||
#include "RiaApplication.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaWellNameComparer.h"
|
||||
|
||||
@@ -93,7 +92,7 @@ caf::PdmScriptResponse RicfCreateLgrForCompletions::execute()
|
||||
|
||||
RimEclipseCase* eclipseCase = nullptr;
|
||||
{
|
||||
for ( RimEclipseCase* c : RiaApplication::instance()->project()->activeOilField()->analysisModels->cases() )
|
||||
for ( RimEclipseCase* c : RimProject::current()->activeOilField()->analysisModels->cases() )
|
||||
{
|
||||
if ( c->caseId() == m_caseId() )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user