aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2015-08-20 15:25:26 +0200
committerRenaud G <renaud@rolisteam.org>2015-08-20 15:25:26 +0200
commit4c96c3f33cbb0552275e4a87046ac0a8fa88162c (patch)
tree635941352883e88760733d24ed04586b8f3ae340
parent065c8f53cebd098d11695eaec07c178d78737c8e (diff)
downloadOneRoll-4c96c3f33cbb0552275e4a87046ac0a8fa88162c.tar.gz
OneRoll-4c96c3f33cbb0552275e4a87046ac0a8fa88162c.zip
fix little issues
-rw-r--r--node/dicerollernode.cpp7
-rw-r--r--node/keepdiceexecnode.cpp2
-rw-r--r--node/startingnode.cpp2
3 files changed, 4 insertions, 7 deletions
diff --git a/node/dicerollernode.cpp b/node/dicerollernode.cpp
index 213c8ec..fa73185 100644
--- a/node/dicerollernode.cpp
+++ b/node/dicerollernode.cpp
@@ -61,10 +61,7 @@ void DiceRollerNode::run(ExecutionNode* previous)
m_nextNode->run(this);
}
}
- }
-
-
-
+ }
}
quint64 DiceRollerNode::getFaces()
@@ -75,7 +72,7 @@ QString DiceRollerNode::toString(bool wl) const
{
if(wl)
{
- return QString("%1 [label=DiceRollerNode]").arg(m_id);
+ return QString("%1 [label=DiceRollerNode faces: %2]").arg(m_id).arg(m_faces);
}
else
{
diff --git a/node/keepdiceexecnode.cpp b/node/keepdiceexecnode.cpp
index 492e69c..7407d30 100644
--- a/node/keepdiceexecnode.cpp
+++ b/node/keepdiceexecnode.cpp
@@ -66,7 +66,7 @@ QString KeepDiceExecNode::toString(bool wl) const
{
if(wl)
{
- return QString("%1 [label=\"KeepDiceExecNode %1\"]").arg(m_id).arg(m_numberOfDice);
+ return QString("%1 [label=\"KeepDiceExecNode %2\"]").arg(m_id).arg(m_numberOfDice);
}
else
{
diff --git a/node/startingnode.cpp b/node/startingnode.cpp
index b57c630..42fba6f 100644
--- a/node/startingnode.cpp
+++ b/node/startingnode.cpp
@@ -17,7 +17,7 @@ QString StartingNode::toString(bool withlabel) const
{
if(withlabel)
{
- return QString("%1 [label=\"StartingNode %2\"]").arg(m_id);
+ return QString("%1 [label=\"StartingNode\"]").arg(m_id);
}
else
{