mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Don't emit signal in constructor
This commit is contained in:
parent
60b3c34d78
commit
db8af24bea
1 changed files with 0 additions and 1 deletions
|
@ -37,7 +37,6 @@ MemberList::MemberList(const QString &room_id, QWidget *parent)
|
||||||
auto members = cache::getMembers(room_id_.toStdString());
|
auto members = cache::getMembers(room_id_.toStdString());
|
||||||
addUsers(members);
|
addUsers(members);
|
||||||
numUsersLoaded_ = members.size();
|
numUsersLoaded_ = members.size();
|
||||||
emit numUsersLoadedChanged();
|
|
||||||
} catch (const lmdb::error &e) {
|
} catch (const lmdb::error &e) {
|
||||||
nhlog::db()->critical("Failed to retrieve members from cache: {}", e.what());
|
nhlog::db()->critical("Failed to retrieve members from cache: {}", e.what());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue