diff --git a/src/Editor/PropertyEdit/CPropertyModel.cpp b/src/Editor/PropertyEdit/CPropertyModel.cpp index 79215560..ded71dc4 100644 --- a/src/Editor/PropertyEdit/CPropertyModel.cpp +++ b/src/Editor/PropertyEdit/CPropertyModel.cpp @@ -11,6 +11,15 @@ #include #include +#include + +struct CPropertyModel::SProperty +{ + IProperty* pProperty; + QModelIndex Index; + int ParentID; + std::vector ChildIDs; +}; CPropertyModel::CPropertyModel(QObject *pParent) : QAbstractItemModel(pParent) diff --git a/src/Editor/PropertyEdit/CPropertyModel.h b/src/Editor/PropertyEdit/CPropertyModel.h index bafcc6d7..dcea9453 100644 --- a/src/Editor/PropertyEdit/CPropertyModel.h +++ b/src/Editor/PropertyEdit/CPropertyModel.h @@ -6,7 +6,6 @@ #include #include #include -#include class CGameProject; class CScriptObject; @@ -16,13 +15,7 @@ class CPropertyModel : public QAbstractItemModel { Q_OBJECT - struct SProperty - { - IProperty* pProperty; - QModelIndex Index; - int ParentID; - std::vector ChildIDs; - }; + struct SProperty; QList mProperties; QMap mPropertyToIDMap; int mFirstUnusedID = -1;