From 0ac284cd19b8e1131a158a2ebd28e12a097a6eeb Mon Sep 17 00:00:00 2001 From: obiwankennedy Date: Thu, 30 Jan 2014 11:53:05 +0100 Subject: Update dicerollernode.cpp getPriority --- node/dicerollernode.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/node/dicerollernode.cpp b/node/dicerollernode.cpp index cc1bff7..1e2dd88 100644 --- a/node/dicerollernode.cpp +++ b/node/dicerollernode.cpp @@ -46,3 +46,14 @@ QString DiceRollerNode::toString() const { return QString("DiceRollerNode"); } +qint64 DiceRollerNode::getPriority() const +{ + qint64 priority=0; + if(NULL!=m_nextNode) + { + priority = m_nextNode->getPriority(); + } + + + return priority; +} -- cgit v1.2.3-70-g09d2