aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/paintnode.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-03-17 19:56:39 +0100
committerRenaud G <renaud@rolisteam.org>2018-03-17 19:56:39 +0100
commit5ff5516c8cab5599375234a9a1898b737e8541f2 (patch)
treebb500dbc5f155fe007b7833a017ab53875127aaa /node/paintnode.cpp
parentdd5ec0eb06c439781a7f9f06211527f1c51f3165 (diff)
downloadOneRoll-5ff5516c8cab5599375234a9a1898b737e8541f2.tar.gz
OneRoll-5ff5516c8cab5599375234a9a1898b737e8541f2.zip
-c++11 for loop (instead foreach)
Diffstat (limited to 'node/paintnode.cpp')
-rw-r--r--node/paintnode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/paintnode.cpp b/node/paintnode.cpp
index 2770891..ddd19de 100644
--- a/node/paintnode.cpp
+++ b/node/paintnode.cpp
@@ -78,7 +78,7 @@ void PainterNode::run(ExecutionNode* previous)
{
QList<Die*> diceList=previousDiceResult->getResultList();
int pastDice=0;
- foreach(ColorItem item, m_colors)
+ for(ColorItem item:m_colors)
{
int current=item.colorNumber();
QList<Die*>::iterator it;