aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2019-09-24 13:40:53 +0200
committerRenaud G <renaud@rolisteam.org>2019-09-24 23:04:27 +0200
commitbec6706b14525e5b886a8551bf6c644a828d635a (patch)
treef95461e5349f98ca3db0a5d8549e1dce1a4f49a6 /node
parent72809636ec8efd84c7122bc1c68bf9db4df226f4 (diff)
downloadOneRoll-bec6706b14525e5b886a8551bf6c644a828d635a.tar.gz
OneRoll-bec6706b14525e5b886a8551bf6c644a828d635a.zip
Remove warnings
Diffstat (limited to 'node')
-rw-r--r--node/countexecutenode.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/node/countexecutenode.cpp b/node/countexecutenode.cpp
index bc8e3b3..c9b78b2 100644
--- a/node/countexecutenode.cpp
+++ b/node/countexecutenode.cpp
@@ -59,11 +59,10 @@ QString CountExecuteNode::toString(bool withlabel) const
qint64 CountExecuteNode::getPriority() const
{
qint64 priority= 0;
- if(nullptr != m_nextNode)
+ if(nullptr != m_previousNode)
{
- priority= m_nextNode->getPriority();
+ priority= m_previousNode->getPriority();
}
-
return priority;
}