mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Replace RiaApplication::instance()->project() with RimProject::current().
Also remove uneccessary includes of RiaApplication.h.
This commit is contained in:
committed by
Magne Sjaastad
parent
7972ff8c02
commit
c016c02e40
@@ -24,7 +24,6 @@
|
||||
#include "RimIdenticalGridCaseGroup.h"
|
||||
#include "RimProject.h"
|
||||
|
||||
#include "RiaApplication.h"
|
||||
#include "Riu3DMainWindowTools.h"
|
||||
|
||||
#include "cafPdmFieldIOScriptability.h"
|
||||
@@ -58,7 +57,7 @@ RicfCreateStatisticsCase::RicfCreateStatisticsCase()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::PdmScriptResponse RicfCreateStatisticsCase::execute()
|
||||
{
|
||||
RimProject* project = RiaApplication::instance()->project();
|
||||
RimProject* project = RimProject::current();
|
||||
|
||||
std::vector<RimIdenticalGridCaseGroup*> gridCaseGroups;
|
||||
project->descendantsIncludingThisOfType( gridCaseGroups );
|
||||
|
||||
Reference in New Issue
Block a user