#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

@@ -47,7 +47,7 @@ CAF_PDM_SOURCE_INIT( RimGridInfo, "GridInfo" );
//--------------------------------------------------------------------------------------------------
RimGridInfo::RimGridInfo()
{
CAF_PDM_InitObject( "GridInfo", ":/draw_style_meshlines_24x24.png", "", "" );
CAF_PDM_InitObject( "GridInfo", ":/draw_style_meshlines_24x24.png" );
CAF_PDM_InitField( &m_isActive, "IsActive", true, "Show Grid Cells" );
CAF_PDM_InitField( &m_gridName, "GridName", QString(), "Grid Name" );
@@ -151,7 +151,7 @@ CAF_PDM_SOURCE_INIT( RimGridInfoCollection, "GridInfoCollection" );
//--------------------------------------------------------------------------------------------------
RimGridInfoCollection::RimGridInfoCollection()
{
CAF_PDM_InitObject( "GridInfoCollection", ":/draw_style_meshlines_24x24.png", "", "" );
CAF_PDM_InitObject( "GridInfoCollection", ":/draw_style_meshlines_24x24.png" );
CAF_PDM_InitField( &m_isActive, "IsActive", true, "Show Grid Cells" );
m_isActive.uiCapability()->setUiHidden( true );
@@ -250,7 +250,7 @@ CAF_PDM_SOURCE_INIT( RimGridCollection, "GridCollection" );
//--------------------------------------------------------------------------------------------------
RimGridCollection::RimGridCollection()
{
CAF_PDM_InitObject( "Grids", ":/draw_style_meshlines_24x24.png", "", "" );
CAF_PDM_InitObject( "Grids", ":/draw_style_meshlines_24x24.png" );
CAF_PDM_InitField( &m_isActive, "IsActive", true, "Show Grid Cells" );
m_isActive.uiCapability()->setUiHidden( true );