diff --git a/GUI/Model/Material/MaterialItem.cpp b/GUI/Model/Material/MaterialItem.cpp index ecd88d82bb6f1e1c133404c7a18d88fc86a0fb9e..32947f389d0c37abad382e6e02ebde120a13b5e2 100644 --- a/GUI/Model/Material/MaterialItem.cpp +++ b/GUI/Model/Material/MaterialItem.cpp @@ -54,7 +54,8 @@ MaterialItem::MaterialItem() : m_data(Refractive(0.0, 0.0)) } 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_data(other.m_data)