diff options
| author | 2021-01-24 13:31:44 +0100 | |
|---|---|---|
| committer | 2021-01-24 13:31:44 +0100 | |
| commit | da9d63ccd53a944840e44090cce4b174929102e9 (patch) | |
| tree | dca47ed7f54815f8622dcabc19a83c804693a8f7 | |
| parent | 7d55efb32e845c910177c083e095956765fd5c17 (diff) | |
| download | OneRoll-da9d63ccd53a944840e44090cce4b174929102e9.tar.gz OneRoll-da9d63ccd53a944840e44090cce4b174929102e9.zip | |
Compile on Qt5.15
| -rw-r--r-- | node/sortresult.cpp | 2 |
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); |