Fix various warnings

This commit is contained in:
Tobias Fella
2023-04-11 16:27:22 +02:00
parent 973ec24674
commit ca03c530b2
6 changed files with 31 additions and 20 deletions

View File

@@ -49,7 +49,7 @@ void StateModel::setRoom(NeoChatRoom *room)
Q_EMIT roomChanged();
beginResetModel();
endResetModel();
connect(room, &NeoChatRoom::changed, this, [=] {
connect(room, &NeoChatRoom::changed, this, [this] {
beginResetModel();
endResetModel();
});