From e77ecb7f7f9a1b9beb036cb74a4209b94355dc75 Mon Sep 17 00:00:00 2001 From: Kristian Bendiksen Date: Wed, 12 Jun 2024 11:32:37 +0200 Subject: [PATCH] Janitor: remove unused field. --- .../WellPath/RimOsduWellPath.cpp | 20 ------------------- .../WellPath/RimOsduWellPath.h | 4 ---- 2 files changed, 24 deletions(-) diff --git a/ApplicationLibCode/ProjectDataModel/WellPath/RimOsduWellPath.cpp b/ApplicationLibCode/ProjectDataModel/WellPath/RimOsduWellPath.cpp index 1f5e6bf415..cb16b7c949 100644 --- a/ApplicationLibCode/ProjectDataModel/WellPath/RimOsduWellPath.cpp +++ b/ApplicationLibCode/ProjectDataModel/WellPath/RimOsduWellPath.cpp @@ -20,9 +20,6 @@ RimOsduWellPath::RimOsduWellPath() CAF_PDM_InitFieldNoDefault( &m_wellboreTrajectoryId, "WellboreTrajectoryId", "Wellbore Trajectory Id" ); m_wellboreTrajectoryId.uiCapability()->setUiReadOnly( true ); - CAF_PDM_InitFieldNoDefault( &m_fileId, "FileId", "File Id" ); - m_fileId.uiCapability()->setUiReadOnly( true ); - // Required, as these settings are set in RimWellPath() m_name.uiCapability()->setUiReadOnly( false ); m_name.uiCapability()->setUiHidden( false ); @@ -85,22 +82,6 @@ QString RimOsduWellPath::wellboreTrajectoryId() const return m_wellboreTrajectoryId; } -//-------------------------------------------------------------------------------------------------- -/// -//-------------------------------------------------------------------------------------------------- -void RimOsduWellPath::setFileId( const QString& fileId ) -{ - m_fileId = fileId; -} - -//-------------------------------------------------------------------------------------------------- -/// -//-------------------------------------------------------------------------------------------------- -QString RimOsduWellPath::fileId() const -{ - return m_fileId; -} - //-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- @@ -110,7 +91,6 @@ void RimOsduWellPath::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering osduGroup->add( &m_wellId ); osduGroup->add( &m_wellboreId ); osduGroup->add( &m_wellboreTrajectoryId ); - osduGroup->add( &m_fileId ); RimWellPath::defineUiOrdering( uiConfigName, uiOrdering ); } diff --git a/ApplicationLibCode/ProjectDataModel/WellPath/RimOsduWellPath.h b/ApplicationLibCode/ProjectDataModel/WellPath/RimOsduWellPath.h index a1968cf336..362ab3bcb5 100644 --- a/ApplicationLibCode/ProjectDataModel/WellPath/RimOsduWellPath.h +++ b/ApplicationLibCode/ProjectDataModel/WellPath/RimOsduWellPath.h @@ -36,9 +36,6 @@ public: void setWellboreTrajectoryId( const QString& wellboreTrajectoryId ); QString wellboreTrajectoryId() const; - void setFileId( const QString& fileId ); - QString fileId() const; - protected: void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override; @@ -46,5 +43,4 @@ private: caf::PdmField m_wellId; caf::PdmField m_wellboreId; caf::PdmField m_wellboreTrajectoryId; - caf::PdmField m_fileId; };