summary refs log tree commit diff
path: root/include/dialogs/MemberList.hpp
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-04 17:59:29 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-04 17:59:29 +0300
commit156e1e62a6de215837c25b6d8e8072d608a4e763 (patch)
treeb34487279485177872b7a673f4aa69a28a3b45bd /include/dialogs/MemberList.hpp
parentRemove the extra top margin from timeline widgets (diff)
downloadnheko-156e1e62a6de215837c25b6d8e8072d608a4e763.tar.xz
Fetch user avatars while browsing the member list
Diffstat (limited to 'include/dialogs/MemberList.hpp')
-rw-r--r--include/dialogs/MemberList.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/dialogs/MemberList.hpp b/include/dialogs/MemberList.hpp

index 09a56aab..bdc11486 100644 --- a/include/dialogs/MemberList.hpp +++ b/include/dialogs/MemberList.hpp
@@ -45,9 +45,15 @@ public slots: protected: void paintEvent(QPaintEvent *event) override; - void moveButtonToBottom(); + void hideEvent(QHideEvent *event) override + { + list_->clear(); + QFrame::hideEvent(event); + } private: + void moveButtonToBottom(); + QString room_id_; QLabel *topLabel_; QListWidget *list_;