Skip to content
Snippets Groups Projects
Commit 6a8f9a9e authored by Matthias Puchner's avatar Matthias Puchner
Browse files

fix warning

parent 33e9189b
No related branches found
No related tags found
1 merge request!520remove warning about missing QObject initialization
Pipeline #51543 passed
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment