#8420 Janitor: Remove empty parameters in initialization macros

This commit is contained in:
Magne Sjaastad
2022-01-07 08:31:52 +01:00
committed by GitHub
parent 7db24e9353
commit 3c35244809
255 changed files with 443 additions and 1088 deletions

View File

@@ -28,7 +28,7 @@ CAF_PDM_ABSTRACT_SOURCE_INIT( RimStreamline, "Streamline" );
//--------------------------------------------------------------------------------------------------
RimStreamline::RimStreamline( QString simWellName )
{
CAF_PDM_InitScriptableObject( "Streamline", ":/Erase.png", "", "" );
CAF_PDM_InitScriptableObject( "Streamline", ":/Erase.png" );
CAF_PDM_InitScriptableField( &m_simWellName, "Name", simWellName, "Name" );
m_simWellName.uiCapability()->setUiReadOnly( true );

View File

@@ -95,7 +95,7 @@ RimStreamlineInViewCollection::RimStreamlineInViewCollection()
: m_shouldGenerateTracers( false )
, m_currentTimestep( -1 )
{
CAF_PDM_InitObject( "Streamlines", ":/Erase.png", "", "" );
CAF_PDM_InitObject( "Streamlines", ":/Erase.png" );
CAF_PDM_InitFieldNoDefault( &m_legendConfig, "LegendDefinition", "Color Legend" );
m_legendConfig = new RimRegularLegendConfig();