aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/result
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2017-11-12 16:28:40 +0100
committerRenaud G <renaud@rolisteam.org>2017-11-12 16:28:40 +0100
commit2a8fd91924799e713c79f8a8e7d9edc94574a6ca (patch)
tree6af720571119ef395a39fe3f6fff5d52ce09e3cf /result
parentcedc70618afa6826d409a64078ea1a8ede4af06c (diff)
parentbbc6f032bf8f182e6e4e97c7afddf47a3fb8a911 (diff)
downloadOneRoll-2a8fd91924799e713c79f8a8e7d9edc94574a6ca.tar.gz
OneRoll-2a8fd91924799e713c79f8a8e7d9edc94574a6ca.zip
update diceparser
Diffstat (limited to 'result')
-rw-r--r--result/diceresult.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/result/diceresult.cpp b/result/diceresult.cpp
index ddedd1c..dd624e9 100644
--- a/result/diceresult.cpp
+++ b/result/diceresult.cpp
@@ -143,7 +143,7 @@ void DiceResult::setOperator(const Die::ArithmeticOperator& dieOperator)
QString DiceResult::toString(bool wl)
{
QStringList scalarSum;
- foreach(Die* die,m_diceValues)
+ for(Die* die:m_diceValues)
{
scalarSum << QString::number(die->getValue());
}