src: replaced references to NODE_FILE with call to isFile

This commit is contained in:
mlangkabel
2017-12-07 14:52:12 +01:00
parent b02596ddfa
commit 91b0c5d05f
9 changed files with 34 additions and 13 deletions
@@ -979,7 +979,7 @@ void GraphController::bundleNodes()
bundleNodesAndEdgesMatching(
[](const DummyNode::BundleInfo& info, const Node* data)
{
return data->isType(NodeType::NODE_FILE);
return data->getType().isFile();
},
1,
false,
@@ -1009,7 +1009,7 @@ void GraphController::bundleNodes()
bundleNodesAndEdgesMatching(
[](const DummyNode::BundleInfo& info, const Node* data)
{
return info.isDefined && info.isReferenced && data->isType(NodeType::NODE_BUILTIN_TYPE);
return info.isDefined && info.isReferenced && data->getType().isBuiltin();
},
3,
false,