diff options
| author | 2017-11-28 11:26:09 +0100 | |
|---|---|---|
| committer | 2017-11-28 11:26:09 +0100 | |
| commit | f0ade121f9cef3b39c41816536f4e400f43dd4af (patch) | |
| tree | db484da8c9bf02ecdf86e117def96f555191787b /node/startingnode.cpp | |
| parent | 4516fab0081b0db73b7401816a521453ab77ecc6 (diff) | |
| download | OneRoll-f0ade121f9cef3b39c41816536f4e400f43dd4af.tar.gz OneRoll-f0ade121f9cef3b39c41816536f4e400f43dd4af.zip | |
-fix copy of if operator
Compare method was not shared.
Diffstat (limited to 'node/startingnode.cpp')
| -rw-r--r-- | node/startingnode.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/node/startingnode.cpp b/node/startingnode.cpp index 670dc7d..210606b 100644 --- a/node/startingnode.cpp +++ b/node/startingnode.cpp @@ -26,7 +26,7 @@ StartingNode::StartingNode() } void StartingNode::run(ExecutionNode*) { - m_previousNode = nullptr; + m_previousNode = nullptr; if(nullptr!=m_nextNode) { m_nextNode->run(this); @@ -34,14 +34,14 @@ void StartingNode::run(ExecutionNode*) } QString StartingNode::toString(bool withlabel) const { - if(withlabel) - { - return QString("%1 [label=\"StartingNode\"]").arg(m_id); - } - else - { - return m_id; - } + if(withlabel) + { + return QString("%1 [label=\"StartingNode\"]").arg(m_id); + } + else + { + return m_id; + } } |