aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceresult.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2014-01-04 16:24:54 +0100
committerRenaud G <renaud@rolisteam.org>2014-01-04 16:24:54 +0100
commit4de8cf5796446b7f8b09d776e4a6a6d6b8e95cb6 (patch)
treed0553a394e50d1de1a5185a7006fe3cb66cbfa3b /diceresult.cpp
parent4114232457cbc5739872f479ef5d7772e6b5f42f (diff)
downloadOneRoll-4de8cf5796446b7f8b09d776e4a6a6d6b8e95cb6.tar.gz
OneRoll-4de8cf5796446b7f8b09d776e4a6a6d6b8e95cb6.zip
-Adding range, booleancondition and countexecutenode.
Diffstat (limited to 'diceresult.cpp')
-rw-r--r--diceresult.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/diceresult.cpp b/diceresult.cpp
index dfdd765..619ccbd 100644
--- a/diceresult.cpp
+++ b/diceresult.cpp
@@ -22,3 +22,8 @@ qint64 DiceResult::getSum()
return sum;
}
+void DiceResult::setResultList(QList<qint64> list)
+{
+ m_diceValues.clear();
+ m_diceValues << list;
+}