Don't emit signal in constructor
This commit is contained in:
parent
60b3c34d78
commit
db8af24bea
@ -37,7 +37,6 @@ MemberList::MemberList(const QString &room_id, QWidget *parent)
|
||||
auto members = cache::getMembers(room_id_.toStdString());
|
||||
addUsers(members);
|
||||
numUsersLoaded_ = members.size();
|
||||
emit numUsersLoadedChanged();
|
||||
} catch (const lmdb::error &e) {
|
||||
nhlog::db()->critical("Failed to retrieve members from cache: {}", e.what());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user