summary refs log tree commit diff
path: root/src/InviteesModel.cpp
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-06-11 20:48:28 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2021-07-20 21:47:22 -0400
commitc566a6254138037d8916bedf9660a66f2d65187f (patch)
treef445a452e26c3e72d067a048f0e841f49bf70fe2 /src/InviteesModel.cpp
parentAdd fancy label if you enter a bad mxid (diff)
downloadnheko-c566a6254138037d8916bedf9660a66f2d65187f.tar.xz
Clean up code
Diffstat (limited to 'src/InviteesModel.cpp')
-rw-r--r--src/InviteesModel.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/InviteesModel.cpp b/src/InviteesModel.cpp
index 0081c7df..1da7baf4 100644
--- a/src/InviteesModel.cpp
+++ b/src/InviteesModel.cpp
@@ -15,9 +15,7 @@ InviteesModel::addUser(QString mxid)
         beginInsertRows(QModelIndex(), invitees_.count(), invitees_.count());
 
         auto invitee = new Invitee{mxid, this};
-        connect(invitee, &Invitee::userInfoLoaded, this, [this]() {
-            endInsertRows();
-        });
+        connect(invitee, &Invitee::userInfoLoaded, this, [this]() { endInsertRows(); });
 
         invitees_.push_back(invitee);
 }