summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorxerus2000 <27jf@pm.me>2020-11-13 21:35:08 +0100
committerxerus2000 <27jf@pm.me>2020-11-13 21:35:08 +0100
commit8e18c532f3bb04177093581f2ec1bc993225079e (patch)
tree56b4492feeaa7ca036de3b9cd91bc0e566c78d36 /src/control
parent2d9dcff9256b8b092af0d6d89f94b797e441c95a (diff)
parent3a9048073bf045c40ae015d61634bf6248540ce2 (diff)
Merge remote-tracking branch 'upstream/2.3' into cleanup-headers
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 (" +