Port [=] operator
This commit is contained in:
@@ -85,7 +85,7 @@ void NotificationsModel::setConnection(NeoChatConnection *connection)
|
|||||||
}
|
}
|
||||||
m_connection = connection;
|
m_connection = connection;
|
||||||
Q_EMIT connectionChanged();
|
Q_EMIT connectionChanged();
|
||||||
connect(connection, &Connection::syncDone, this, [=]() {
|
connect(connection, &Connection::syncDone, this, [this]() {
|
||||||
loadData();
|
loadData();
|
||||||
});
|
});
|
||||||
loadData();
|
loadData();
|
||||||
|
|||||||
Reference in New Issue
Block a user