mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Convert to enum class
This commit is contained in:
@@ -98,7 +98,8 @@ caf::PdmScriptResponse RicfExportProperty::execute()
|
||||
QString filePath = m_exportFileName;
|
||||
if ( filePath.isNull() )
|
||||
{
|
||||
QDir propertiesDir( RicfCommandFileExecutor::instance()->getExportPath( RicfCommandFileExecutor::PROPERTIES ) );
|
||||
QDir propertiesDir(
|
||||
RicfCommandFileExecutor::instance()->getExportPath( RicfCommandFileExecutor::ExportType::PROPERTIES ) );
|
||||
QString fileName = QString( "%1-%2" ).arg( eclipseCase->caseUserDescription() ).arg( m_propertyName );
|
||||
fileName = caf::Utils::makeValidFileBasename( fileName );
|
||||
filePath = propertiesDir.filePath( fileName );
|
||||
|
||||
Reference in New Issue
Block a user