From d7230022f620fba93a6f0ba7e22fde092c4f48fb Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sat, 9 Dec 2023 15:47:26 +0100 Subject: [PATCH] Port [=] operator --- src/models/notificationsmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/notificationsmodel.cpp b/src/models/notificationsmodel.cpp index 7f7a7d018..c1a5c3edb 100644 --- a/src/models/notificationsmodel.cpp +++ b/src/models/notificationsmodel.cpp @@ -85,7 +85,7 @@ void NotificationsModel::setConnection(NeoChatConnection *connection) } m_connection = connection; Q_EMIT connectionChanged(); - connect(connection, &Connection::syncDone, this, [=]() { + connect(connection, &Connection::syncDone, this, [this]() { loadData(); }); loadData();