Port [=] operator

This commit is contained in:
Laurent Montel
2023-12-09 15:47:26 +01:00
parent d25340bc31
commit d7230022f6

View File

@@ -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();