logic: don't use shared_ptr for QtGraphNode and QtGraphEdge anymore

* fixes crashes on events to deleted Qt elements
This commit is contained in:
Eberhard Graether
2017-11-17 22:30:48 +01:00
parent 634601b4b6
commit b887a4a89e
15 changed files with 159 additions and 179 deletions
@@ -70,7 +70,7 @@ bool QtGraphNodeAccess::isAccessNode() const
return true;
}
void QtGraphNodeAccess::addSubNode(const std::shared_ptr<QtGraphNode>& node)
void QtGraphNodeAccess::addSubNode(QtGraphNode* node)
{
QtGraphNode::addSubNode(node);
m_text->show();