From dbb57d52d351e340ce69fccaedbdf758b04ed8fe Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sun, 10 Jul 2016 10:45:44 +0200 Subject: update dice system. --- node/sortresult.cpp | 2 +- result/diceresult.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/node/sortresult.cpp b/node/sortresult.cpp index 0bf531c..f72d884 100644 --- a/node/sortresult.cpp +++ b/node/sortresult.cpp @@ -96,7 +96,7 @@ void SortResultNode::run(ExecutionNode* node) } else { - m_result = node->getResult(); + //m_result = node->getResult(); //m_errors.append(DIE_RESULT_EXPECTED); } diff --git a/result/diceresult.cpp b/result/diceresult.cpp index 462c989..9f9fbf8 100644 --- a/result/diceresult.cpp +++ b/result/diceresult.cpp @@ -51,7 +51,7 @@ void DiceResult::setResultList(QList list) } DiceResult::~DiceResult() { - qDeleteAll(m_diceValues.begin(), m_diceValues.end()); + qDeleteAll(m_diceValues.begin(), m_diceValues.end()); m_diceValues.clear(); } QVariant DiceResult::getResult(RESULT_TYPE type) -- cgit v1.2.3-70-g09d2