move m_change_connections to ElementItemEditor, so it must not be defined by every editor it self

This commit is contained in:
Martin Marmsoler
2021-03-05 20:59:36 +01:00
parent bc88f2ec2e
commit ea793125a5
9 changed files with 21 additions and 27 deletions

View File

@@ -59,8 +59,7 @@ class LineEditor : public ElementItemEditor
private:
PartLine *m_part = nullptr;
Ui::LineEditor *ui;
StyleEditor *m_style = nullptr;
QList <QMetaObject::Connection> m_change_connections;
StyleEditor *m_style = nullptr;
bool m_locked = false;
};