- XGUI_FeaturesModel(const boost::shared_ptr<ModelAPI_Document>& theDocument, QObject* theParent):
- QAbstractItemModel(theParent), myDocument(theDocument) {}
+ XGUI_FeaturesModel(const DocumentPtr& theDocument, QObject* theParent):
+ QAbstractItemModel(theParent), myDocument(theDocument), myItemsColor(Qt::black) {}