diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-08-29 16:15:31 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-08-29 16:15:31 +0300 |
commit | b7362298b0673dbc8cec37e90d3958cfc5f7d602 (patch) | |
tree | 71e932cc42f76b02856ee2648c6428a4b44a00e3 /src/dialogs/RoomSettings.h | |
parent | Add the ability to change the room avatar (diff) | |
download | nheko-b7362298b0673dbc8cec37e90d3958cfc5f7d602.tar.xz |
Make lambda that updates avatar a class method
Diffstat (limited to '')
-rw-r--r-- | src/dialogs/RoomSettings.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dialogs/RoomSettings.h b/src/dialogs/RoomSettings.h index ebc9f04a..ac9097dd 100644 --- a/src/dialogs/RoomSettings.h +++ b/src/dialogs/RoomSettings.h @@ -102,6 +102,10 @@ protected: void paintEvent(QPaintEvent *event) override; void showEvent(QShowEvent *event) override; +private slots: + //! The file dialog opens so the user can select and upload a new room avatar. + void updateAvatar(); + private: //! Whether the user has enough power level to send m.room.join_rules events. bool canChangeJoinRules(const std::string &room_id, const std::string &user_id) const; |