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
@@ -89,7 +89,7 @@ caf::PdmScriptResponse RicfExportMsw::execute()
|
||||
exportSettings.includeFractures = m_includeFractures;
|
||||
exportSettings.fileSplit = m_fileSplit;
|
||||
|
||||
RimWellPath* wellPath = RiaApplication::instance()->project()->wellPathByName( m_wellPathName );
|
||||
RimWellPath* wellPath = RimProject::current()->wellPathByName( m_wellPathName );
|
||||
if ( !wellPath )
|
||||
{
|
||||
QString error = QString( "exportMsw: Could not find well path with name %1" ).arg( m_wellPathName() );
|
||||
|
||||
Reference in New Issue
Block a user