mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8420 Janitor: Remove empty parameters in initialization macros
This commit is contained in:
@@ -63,17 +63,14 @@ const RivIntersectionGeometryGeneratorInterface* RimBoxIntersection::intersectio
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimBoxIntersection::RimBoxIntersection()
|
||||
{
|
||||
CAF_PDM_InitObject( "Intersection Box", ":/IntersectionBox16x16.png", "", "" );
|
||||
CAF_PDM_InitObject( "Intersection Box", ":/IntersectionBox16x16.png" );
|
||||
|
||||
CAF_PDM_InitField( &m_name, "UserDescription", QString( "Intersection Name" ), "Name" );
|
||||
|
||||
CAF_PDM_InitField( &m_singlePlaneState,
|
||||
"singlePlaneState",
|
||||
caf::AppEnum<SinglePlaneState>( SinglePlaneState::PLANE_STATE_NONE ),
|
||||
"Box Type",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Box Type" );
|
||||
|
||||
CAF_PDM_InitField( &m_minXCoord, "MinXCoord", 0.0, "Min" );
|
||||
m_minXCoord.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
||||
|
||||
@@ -196,7 +196,7 @@ void RimExtrudedCurveIntersection::configureForAzimuthLine()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimExtrudedCurveIntersection::RimExtrudedCurveIntersection()
|
||||
{
|
||||
CAF_PDM_InitObject( "Intersection", ":/CrossSection16x16.png", "", "" );
|
||||
CAF_PDM_InitObject( "Intersection", ":/CrossSection16x16.png" );
|
||||
CAF_PDM_InitField( &m_name, "UserDescription", QString( "Intersection Name" ), "Name" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_type, "Type", "Type" );
|
||||
|
||||
@@ -50,7 +50,7 @@ CAF_PDM_SOURCE_INIT( RimIntersectionCollection, "CrossSectionCollection" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimIntersectionCollection::RimIntersectionCollection()
|
||||
{
|
||||
CAF_PDM_InitObject( "Intersections", ":/CrossSections16x16.png", "", "" );
|
||||
CAF_PDM_InitObject( "Intersections", ":/CrossSections16x16.png" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_intersections, "CrossSections", "Intersections" );
|
||||
m_intersections.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
@@ -42,7 +42,7 @@ CAF_PDM_SOURCE_INIT( RimIntersectionResultDefinition, "IntersectionResultDefinit
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimIntersectionResultDefinition::RimIntersectionResultDefinition()
|
||||
{
|
||||
CAF_PDM_InitObject( "Intersection Result Definition", ":/CellResult.png", "", "" );
|
||||
CAF_PDM_InitObject( "Intersection Result Definition", ":/CellResult.png" );
|
||||
|
||||
CAF_PDM_InitField( &m_isActive, "IsActive", true, "Active" );
|
||||
m_isActive.uiCapability()->setUiHidden( true );
|
||||
|
||||
@@ -30,7 +30,7 @@ CAF_PDM_SOURCE_INIT( RimIntersectionResultsDefinitionCollection, "RimIntersectio
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimIntersectionResultsDefinitionCollection::RimIntersectionResultsDefinitionCollection()
|
||||
{
|
||||
CAF_PDM_InitObject( "Intersection Results", ":/CrossSections16x16.png", "", "" );
|
||||
CAF_PDM_InitObject( "Intersection Results", ":/CrossSections16x16.png" );
|
||||
|
||||
CAF_PDM_InitField( &m_isActive, "isActive", false, "Active" );
|
||||
m_isActive.uiCapability()->setUiHidden( true );
|
||||
|
||||
Reference in New Issue
Block a user