mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-01 08:38:00 -06:00
Update to clang-format-18
Update to clang-format-18 Code changes related to clang-format-18
This commit is contained in:
1 parent
b6b1bf053e
commit
892d7251ee
49 files changed
+137
-421
No files matched your search
@@ -147,8 +147,7 @@ void RicEclipseCellResultToFileImpl::writeDataToTextFile( QFile*
|
||||
{
|
||||
QTextStream textstream( file );
|
||||
textstream << "\n";
|
||||
textstream << "-- Exported from ResInsight"
|
||||
<< "\n";
|
||||
textstream << "-- Exported from ResInsight" << "\n";
|
||||
|
||||
if ( writeEchoKeywords )
|
||||
{
|
||||
@@ -178,8 +177,7 @@ void RicEclipseCellResultToFileImpl::writeDataToTextFile( QFile*
|
||||
}
|
||||
|
||||
textstream << "\n"
|
||||
<< "/"
|
||||
<< "\n";
|
||||
<< "/" << "\n";
|
||||
|
||||
if ( writeEchoKeywords )
|
||||
{
|
||||
|
||||
@@ -117,8 +117,7 @@ void RicExportSelectedWellPathsFeature::writeWellPathGeometryToStream( QTextStre
|
||||
stream << "\n";
|
||||
}
|
||||
|
||||
stream << "WELLNAME: '" << caf::Utils::makeValidFileBasename( exportName ) << "'"
|
||||
<< "\n";
|
||||
stream << "WELLNAME: '" << caf::Utils::makeValidFileBasename( exportName ) << "'" << "\n";
|
||||
|
||||
auto numberFormat = RifTextDataTableDoubleFormatting( RIF_FLOAT, 2 );
|
||||
formatter.header( { { "X", numberFormat, RIGHT },
|
||||
|
||||
@@ -177,11 +177,7 @@ QString RicSnapshotViewToFileFeature::generateSaveFileName( const QString& defau
|
||||
}
|
||||
|
||||
QStringList imageFileExtensions;
|
||||
imageFileExtensions << "*.png"
|
||||
<< "*.jpg"
|
||||
<< "*.bmp"
|
||||
<< "*.pbm"
|
||||
<< "*.pgm";
|
||||
imageFileExtensions << "*.png" << "*.jpg" << "*.bmp" << "*.pbm" << "*.pgm";
|
||||
QString fileExtensionFilter = QString( "Images (%1)" ).arg( imageFileExtensions.join( " " ) );
|
||||
|
||||
QString pdfFilter = "PDF report( *.pdf )";
|
||||
|
||||
@@ -65,8 +65,7 @@ RicCreateEnsembleWellLogUi::RicCreateEnsembleWellLogUi()
|
||||
CAF_PDM_InitFieldNoDefault( &m_wellFilePath, "WellFilePath", "Well File Path" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_selectedKeywords, "SelectedProperties", "Selected Properties" );
|
||||
|
||||
m_tabNames << "Well"
|
||||
<< "Properties";
|
||||
m_tabNames << "Well" << "Properties";
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -58,8 +58,7 @@ std::vector<RimWellLogLasFile*> RicWellLogsImportFileFeature::importWellLogFiles
|
||||
QStringList RicWellLogsImportFileFeature::wellLogFileNameFilters()
|
||||
{
|
||||
QStringList nameFilters;
|
||||
nameFilters << "*.las"
|
||||
<< "*.LAS";
|
||||
nameFilters << "*.las" << "*.LAS";
|
||||
return nameFilters;
|
||||
}
|
||||
|
||||
|
||||
@@ -190,11 +190,7 @@ std::vector<RimWellPath*> RicImportWellPaths::importWellPaths( const QStringList
|
||||
QStringList RicImportWellPaths::wellPathNameFilters()
|
||||
{
|
||||
QStringList nameFilters;
|
||||
nameFilters << "*.json"
|
||||
<< "*.asc"
|
||||
<< " *.asci"
|
||||
<< "*.ascii"
|
||||
<< "*.dev";
|
||||
nameFilters << "*.json" << "*.asc" << " *.asci" << "*.ascii" << "*.dev";
|
||||
return nameFilters;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user