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
@@ -21,7 +21,6 @@
|
||||
#include "WellPathCommands/PointTangentManipulator/RicWellPathGeometry3dEditor.h"
|
||||
#include "WellPathCommands/RicCreateWellTargetsPickEventHandler.h"
|
||||
|
||||
#include "RiaApplication.h"
|
||||
#include "RiaFieldHandleTools.h"
|
||||
#include "RiaJCurveCalculator.h"
|
||||
#include "RiaLogging.h"
|
||||
@@ -551,7 +550,7 @@ void RimWellPathGeometryDef::defineObjectEditorAttribute( QString uiConfigName,
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPathGeometryDef::initAfterRead()
|
||||
{
|
||||
if ( RiaApplication::instance()->project()->isProjectFileVersionEqualOrOlderThan( "2019.12.1" ) )
|
||||
if ( RimProject::current()->isProjectFileVersionEqualOrOlderThan( "2019.12.1" ) )
|
||||
{
|
||||
m_useAutoGeneratedTargetAtSeaLevel = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user