Gui: modernize C++: use default member init
This commit is contained in:
@@ -34,13 +34,7 @@ VertexProperty::VertexProperty() :
|
||||
visibleIcon(new QGraphicsPixmapItem()),
|
||||
stateIcon(new QGraphicsPixmapItem()),
|
||||
icon(new QGraphicsPixmapItem()),
|
||||
text(new QGraphicsTextItem()),
|
||||
row(0),
|
||||
column(0),
|
||||
topoSortIndex(0),
|
||||
lastVisibleState(VisibilityState::None),
|
||||
lastFeatureState(FeatureState::None),
|
||||
dagVisible(true)
|
||||
text(new QGraphicsTextItem())
|
||||
{
|
||||
//set z values.
|
||||
this->rectangle->setZValue(-1000.0);
|
||||
@@ -51,10 +45,7 @@ VertexProperty::VertexProperty() :
|
||||
this->text->setZValue(0.0);
|
||||
}
|
||||
|
||||
EdgeProperty::EdgeProperty() : relation(BranchTag::None)
|
||||
{
|
||||
|
||||
}
|
||||
EdgeProperty::EdgeProperty() = default;
|
||||
|
||||
bool Gui::DAG::hasRecord(const App::DocumentObject* dObjectIn, const GraphLinkContainer &containerIn)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user