mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
clang-format: Set column width to 140
* Set column width to 140 * Use c++20 * Remove redundant virtual
This commit is contained in:
@@ -128,24 +128,19 @@ caf::PdmScriptResponse RicfExportPropertyInViews::execute()
|
||||
|
||||
if ( resultAccessor.isNull() )
|
||||
{
|
||||
QString warning =
|
||||
QString( "exportProperty: Could not find property. Case ID %1, time step %2, property '%3'" )
|
||||
.arg( m_caseId )
|
||||
.arg( view->currentTimeStep() )
|
||||
.arg( propertyName );
|
||||
QString warning = QString( "exportProperty: Could not find property. Case ID %1, time step %2, property '%3'" )
|
||||
.arg( m_caseId )
|
||||
.arg( view->currentTimeStep() )
|
||||
.arg( propertyName );
|
||||
RiaLogging::warning( warning );
|
||||
response.updateStatus( caf::PdmScriptResponse::COMMAND_WARNING, warning );
|
||||
continue;
|
||||
}
|
||||
|
||||
QDir propertiesDir(
|
||||
RicfCommandFileExecutor::instance()->getExportPath( RicfCommandFileExecutor::ExportType::PROPERTIES ) );
|
||||
QDir propertiesDir( RicfCommandFileExecutor::instance()->getExportPath( RicfCommandFileExecutor::ExportType::PROPERTIES ) );
|
||||
|
||||
QString fileName = QString( "%1-%2-T%3-%4" )
|
||||
.arg( eclipseCase->caseUserDescription() )
|
||||
.arg( view->name() )
|
||||
.arg( view->currentTimeStep() )
|
||||
.arg( propertyName );
|
||||
QString fileName =
|
||||
QString( "%1-%2-T%3-%4" ).arg( eclipseCase->caseUserDescription() ).arg( view->name() ).arg( view->currentTimeStep() ).arg( propertyName );
|
||||
|
||||
fileName = caf::Utils::makeValidFileBasename( fileName );
|
||||
const QString filePath = propertiesDir.filePath( fileName );
|
||||
|
||||
Reference in New Issue
Block a user