aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2021-01-24 13:31:44 +0100
committerRenaud G <renaud@rolisteam.org>2021-01-24 13:31:44 +0100
commitda9d63ccd53a944840e44090cce4b174929102e9 (patch)
treedca47ed7f54815f8622dcabc19a83c804693a8f7
parent7d55efb32e845c910177c083e095956765fd5c17 (diff)
downloadOneRoll-da9d63ccd53a944840e44090cce4b174929102e9.tar.gz
OneRoll-da9d63ccd53a944840e44090cce4b174929102e9.zip
Compile on Qt5.15
-rw-r--r--node/sortresult.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/sortresult.cpp b/node/sortresult.cpp
index bdb95c3..f22107d 100644
--- a/node/sortresult.cpp
+++ b/node/sortresult.cpp
@@ -103,7 +103,7 @@ void SortResultNode::run(ExecutionNode* node)
{
for(int i= 0; i < diceList2.size() / 2; ++i)
{
- diceList2.swap(i, diceList2.size() - (1 + i));
+ diceList2.swapItemsAt(i, diceList2.size() - (1 + i));
}
}
m_diceResult->setResultList(diceList2);