From 73a73adba80cd5590e467a2bd5df282cd413377d Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de> Date: Thu, 30 Nov 2023 08:48:53 +0100 Subject: [PATCH] corr warnings --- Device/Detector/IDetector.cpp | 3 ++- GUI/Model/Sample/MaterialItem.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Device/Detector/IDetector.cpp b/Device/Detector/IDetector.cpp index ed6451990cf..dee16f00e66 100644 --- a/Device/Detector/IDetector.cpp +++ b/Device/Detector/IDetector.cpp @@ -76,7 +76,8 @@ IDetector::IDetector(Frame* frame) } IDetector::IDetector(const IDetector& other) - : m_explicitROI(other.m_explicitROI) + : INode() + , m_explicitROI(other.m_explicitROI) , m_frame(other.m_frame->clone()) , m_polAnalyzer(other.m_polAnalyzer) , m_resolution(other.m_resolution ? other.m_resolution->clone() : nullptr) diff --git a/GUI/Model/Sample/MaterialItem.cpp b/GUI/Model/Sample/MaterialItem.cpp index b6636aa28c7..1a6177069c6 100644 --- a/GUI/Model/Sample/MaterialItem.cpp +++ b/GUI/Model/Sample/MaterialItem.cpp @@ -55,7 +55,8 @@ MaterialItem::MaterialItem() } MaterialItem::MaterialItem(const MaterialItem& other) - : m_name(other.m_name) + : QObject() + , m_name(other.m_name) , m_id(other.m_id) , m_color(other.m_color) , m_magnetization(other.m_magnetization) -- GitLab