aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node
diff options
context:
space:
mode:
authorobiwankennedy <renaud@rolisteam.org>2014-01-21 16:33:20 +0100
committerobiwankennedy <renaud@rolisteam.org>2014-01-21 16:33:20 +0100
commitac0eab35319f365e3acf8b7a353e2e63c1c2166e (patch)
tree8a87760dddea705c03ed6be4d780f1ac91c96535 /node
parentff8ccc6144e12ece38f58cd60199f7f58e6313b7 (diff)
downloadOneRoll-ac0eab35319f365e3acf8b7a353e2e63c1c2166e.tar.gz
OneRoll-ac0eab35319f365e3acf8b7a353e2e63c1c2166e.zip
Update sortresult.cpp
toString
Diffstat (limited to 'node')
-rw-r--r--node/sortresult.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/node/sortresult.cpp b/node/sortresult.cpp
index 8bb19b4..4111328 100644
--- a/node/sortresult.cpp
+++ b/node/sortresult.cpp
@@ -12,6 +12,7 @@ SortResultNode::SortResultNode()
}
void SortResultNode::run(ExecutionNode* node)
{
+ qDebug() << "SortResultNode node";
if(NULL==node)
{
return;
@@ -30,7 +31,6 @@ void SortResultNode::run(ExecutionNode* node)
Die* tmp1 = diceList[i];
int j =0;
bool found = false;
- //for(; ((j < diceList2.size())&&(!found)); ++j)
int start = 0;
int end = diceList2.size();
int distance = 0;
@@ -92,3 +92,7 @@ void SortResultNode::setSortAscending(bool asc)
{
m_ascending = asc;
}
+QString SortResultNode::toString() const
+{
+ return "SortResultNode";
+}