summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-11-12 14:07:01 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-11-12 14:07:01 +0100
commitf50f6765db35357cd0c4060a46f67f486ce0bd69 (patch)
tree65831d01fef967c11878083edd53ef78e54815d5 /src/control
parentcb88ea578a73c8adabb57ce2e1bf10f663d32500 (diff)
Fix a bunch of clazy-range-loop warnings
Diffstat (limited to 'src/control')
-rw-r--r--src/control/controlobjectscript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/controlobjectscript.cpp b/src/control/controlobjectscript.cpp
index d95d0c0176..429a4d0230 100644
--- a/src/control/controlobjectscript.cpp
+++ b/src/control/controlobjectscript.cpp
@@ -22,7 +22,7 @@ bool ControlObjectScript::addScriptConnection(const ScriptConnection& conn) {
Qt::QueuedConnection);
}
- for (const auto& priorConnection: m_scriptConnections) {
+ for (const auto& priorConnection : qAsConst(m_scriptConnections)) {
if (conn == priorConnection) {
qWarning() << "Connection " + conn.id.toString() +
" already connected to (" +