Fix several clazy issues:

* C++11 range-loop might detach Qt container [-Wclazy-range-loop-detach]
This commit is contained in:
wmayer
2022-07-24 23:48:37 +02:00
parent 0bef4e82f2
commit 6ee2c7f865
17 changed files with 63 additions and 36 deletions

View File

@@ -309,7 +309,8 @@ PyObject* CommandPy::getAction(PyObject *args)
Py::List list;
if (group) {
for (auto a : group->actions())
const auto actions = group->actions();
for (auto a : actions)
list.append(wrap.fromQObject(a));
}
else if (action) {