diff options
author | Mike Krus <mike.krus@kdab.com> | 2019-11-08 10:56:08 +0000 |
---|---|---|
committer | Mike Krus <mike.krus@kdab.com> | 2019-11-08 15:46:51 +0000 |
commit | fb140a24a2d8ffb217999249f7f95c859e827d46 (patch) | |
tree | eccb3b164fa33572c033c2086bbbe07f73c0b4c1 /src/core | |
parent | 906f8a62f89a7ce2343a155e6db62616e66dc14b (diff) |
Fix compile warnings
Change-Id: Iac18b5fddec79295dd9e4249fd16eb2f121fe771
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/nodes/qnode_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/nodes/qnode_p.h b/src/core/nodes/qnode_p.h index 208474802..61aa81c81 100644 --- a/src/core/nodes/qnode_p.h +++ b/src/core/nodes/qnode_p.h @@ -161,7 +161,7 @@ public: { m_destructionConnections.erase(std::remove_if(m_destructionConnections.begin(), m_destructionConnections.end(), - [this, node] (const QPair<QNode *, QMetaObject::Connection> &nodeConnectionPair) { + [node] (const QPair<QNode *, QMetaObject::Connection> &nodeConnectionPair) { if (nodeConnectionPair.first == node) { QObject::disconnect(nodeConnectionPair.second); return true; |