--- a/src/ldObject.cpp Sun Jan 29 15:39:35 2017 +0200 +++ b/src/ldObject.cpp Sun Jan 29 15:49:36 2017 +0200 @@ -793,9 +793,9 @@ m_fileReferenced = value; } -LDComment::LDComment (QString text, LDDocument* document) : - LDObject (document), - m_text (text) {} +LDComment::LDComment (QString text, Model* model) : + LDObject {model}, + m_text {text} {} QString LDComment::text() const { @@ -807,9 +807,9 @@ changeProperty (this, &m_text, value); } -LDBfc::LDBfc (const BfcStatement type, LDDocument* document) : - LDObject (document), - m_statement (type) {} +LDBfc::LDBfc (const BfcStatement type, Model* model) : + LDObject {model}, + m_statement {type} {} BfcStatement LDBfc::statement() const {