diff options
| author | 2017-11-25 02:51:23 +0100 | |
|---|---|---|
| committer | 2017-11-25 02:51:23 +0100 | |
| commit | 95d4b12f2900f13e5836cb460261c96889bdd4e5 (patch) | |
| tree | afcf71441e868fbd215eb68da69229e1b458a92d /node/startingnode.cpp | |
| parent | 6769063ea8a41a568b06c63b797bc26c3c5a1c6d (diff) | |
| download | OneRoll-95d4b12f2900f13e5836cb460261c96889bdd4e5.tar.gz OneRoll-95d4b12f2900f13e5836cb460261c96889bdd4e5.zip | |
remove useless commit
Diffstat (limited to 'node/startingnode.cpp')
| -rw-r--r-- | node/startingnode.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/node/startingnode.cpp b/node/startingnode.cpp index 43a0dd7..670dc7d 100644 --- a/node/startingnode.cpp +++ b/node/startingnode.cpp @@ -26,6 +26,7 @@ StartingNode::StartingNode() } void StartingNode::run(ExecutionNode*) { + m_previousNode = nullptr; if(nullptr!=m_nextNode) { m_nextNode->run(this); @@ -47,7 +48,7 @@ QString StartingNode::toString(bool withlabel) const qint64 StartingNode::getPriority() const { qint64 priority=0; - if(NULL!=m_nextNode) + if(nullptr!=m_nextNode) { priority = m_nextNode->getPriority(); } @@ -56,7 +57,7 @@ qint64 StartingNode::getPriority() const ExecutionNode* StartingNode::getCopy() const { StartingNode* node = new StartingNode(); - if(NULL!=m_nextNode) + if(nullptr!=m_nextNode) { node->setNextNode(m_nextNode->getCopy()); } |