mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
make lint
This commit is contained in:
parent
efda94ca50
commit
6458614ea1
2 changed files with 6 additions and 3 deletions
|
@ -20,7 +20,9 @@ InviteesModel::addUser(QString mxid)
|
|||
|
||||
auto invitee = new Invitee{mxid, this};
|
||||
auto indexOfInvitee = invitees_.count();
|
||||
connect(invitee, &Invitee::userInfoLoaded, this, [this, indexOfInvitee]() { emit dataChanged(index(indexOfInvitee), index(indexOfInvitee)); });
|
||||
connect(invitee, &Invitee::userInfoLoaded, this, [this, indexOfInvitee]() {
|
||||
emit dataChanged(index(indexOfInvitee), index(indexOfInvitee));
|
||||
});
|
||||
|
||||
invitees_.push_back(invitee);
|
||||
|
||||
|
|
|
@ -327,7 +327,8 @@ TimelineModel::TimelineModel(TimelineViewManager *manager, QString room_id, QObj
|
|||
this->isSpace_ = create->content.type == mtx::events::state::room_type::space;
|
||||
this->isEncrypted_ = cache::isRoomEncrypted(room_id_.toStdString());
|
||||
|
||||
// this connection will simplify adding the plainRoomNameChanged() signal everywhere that it needs to be
|
||||
// this connection will simplify adding the plainRoomNameChanged() signal everywhere that it
|
||||
// needs to be
|
||||
connect(this, &TimelineModel::roomNameChanged, this, &TimelineModel::plainRoomNameChanged);
|
||||
|
||||
connect(
|
||||
|
|
Loading…
Reference in a new issue