┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2024-11-24 14:40:25 +0100
committerMéven Car <[email protected]>2024-11-25 12:52:33 +0000
commit25a5a1df171770ea1f6c9665c4f048807d6fc80d (patch)
treef0a61caf8ccd4d0c86d2a827efea4d5f792554f8 /src/kitemviews
parentf83b2cdcdbfabd0e2450af3a2e9f31c9922ed871 (diff)
Switch to C++20
Diffstat (limited to 'src/kitemviews')
-rw-r--r--src/kitemviews/kitemlistview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kitemviews/kitemlistview.cpp b/src/kitemviews/kitemlistview.cpp
index b0ea32940..38ec6841a 100644
--- a/src/kitemviews/kitemlistview.cpp
+++ b/src/kitemviews/kitemlistview.cpp
@@ -1608,10 +1608,10 @@ void KItemListView::slotRubberBandActivationChanged(bool active)
curve.addCubicBezierSegment(QPointF(0.4, 0.0), QPointF(1.0, 1.0), QPointF(1.0, 1.0));
animation->setEasingCurve(curve);
- connect(animation, &QVariantAnimation::valueChanged, this, [=](const QVariant &) {
+ connect(animation, &QVariantAnimation::valueChanged, this, [=, this](const QVariant &) {
update();
});
- connect(animation, &QVariantAnimation::finished, this, [=]() {
+ connect(animation, &QVariantAnimation::finished, this, [=, this]() {
m_rubberBandAnimations.removeAll(animation);
delete animation;
});