Replace RiaApplication::instance()->project() with RimProject::current().

Also remove uneccessary includes of RiaApplication.h.
This commit is contained in:
Kristian Bendiksen authored and Magne Sjaastad committed 2020-05-12 12:01:44 +02:00
1 parent 7972ff8c02
commit c016c02e40
263 files changed
+320 -610

No files matched your search

@@ -71,7 +71,7 @@ void RicExportEclipseSectorModelFeature::openDialogAndExecuteCommand( RimEclipse
std::tie( min, max ) = getVisibleCellRange( view, cellVisibility );
RicExportEclipseSectorModelUi* exportSettings =
RiaApplication::instance()->project()->dialogData()->exportSectorModelUi();
RimProject::current()->dialogData()->exportSectorModelUi();
exportSettings->setCaseData( caseData, min, max );
exportSettings->applyBoundaryDefaults();