diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-11-12 14:07:01 +0100 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-11-12 14:07:01 +0100 |
commit | f50f6765db35357cd0c4060a46f67f486ce0bd69 (patch) | |
tree | 65831d01fef967c11878083edd53ef78e54815d5 /src/control | |
parent | cb88ea578a73c8adabb57ce2e1bf10f663d32500 (diff) |
Fix a bunch of clazy-range-loop warnings
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/controlobjectscript.cpp | 2 |
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 (" + |