Convert to enum class

This commit is contained in:
Magne Sjaastad
2020-04-24 08:22:32 +02:00
parent 95fc63fe7c
commit 72fefb4db5
21 changed files with 54 additions and 47 deletions

View File

@@ -78,7 +78,8 @@ caf::PdmScriptResponse RicfExportWellPaths::execute()
return caf::PdmScriptResponse( caf::PdmScriptResponse::COMMAND_ERROR, error );
}
QString exportFolder = RicfCommandFileExecutor::instance()->getExportPath( RicfCommandFileExecutor::WELLPATHS );
QString exportFolder =
RicfCommandFileExecutor::instance()->getExportPath( RicfCommandFileExecutor::ExportType::WELLPATHS );
if ( exportFolder.isNull() )
{
exportFolder = RiaApplication::instance()->createAbsolutePathFromProjectRelativePath( "wellpaths" );