summaryrefslogtreecommitdiffstats
path: root/qt-models/divelistmodel.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-02-04 14:09:12 +0100
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2020-02-04 16:24:29 +0100
commit5e0ce206a0cb88754b27cf8d7b9d65773f87cd07 (patch)
treef7e781aa5741ebf0987caf47d588637aa34b2b73 /qt-models/divelistmodel.cpp
parent35de9c49a4f2c2ab5abc3f52e8d005c0d1225971 (diff)
downloadsubsurface-5e0ce206a0cb88754b27cf8d7b9d65773f87cd07.tar.gz
Cleanup: remove capture-all lambda clauses
These were forgotten the last time. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divelistmodel.cpp')
-rw-r--r--qt-models/divelistmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/divelistmodel.cpp b/qt-models/divelistmodel.cpp
index d45072dd2..1335b2952 100644
--- a/qt-models/divelistmodel.cpp
+++ b/qt-models/divelistmodel.cpp
@@ -106,7 +106,7 @@ void CollapsedDiveListSortModel::setActiveTrip(const QString &trip)
// to be destroyed before this function returns.
// Instead do this asynchronously
QtConcurrent::run(QThreadPool::globalInstance(),
- [=]{
+ []{
CollapsedDiveListSortModel::instance()->updateFilterState();
});
}