diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-01-16 22:50:47 +0200 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-01-16 22:50:47 +0200 |
commit | 9de2db2fb8ddac82d4f339b5689417c93f0daa5c (patch) | |
tree | 4bec0e0cca74e1ec92b318e4e0a63c19c2102639 /include/dialogs | |
parent | Add some very useful commands (diff) | |
download | nheko-9de2db2fb8ddac82d4f339b5689417c93f0daa5c.tar.xz |
Automatically focus on input when opening a dialog
Diffstat (limited to 'include/dialogs')
-rw-r--r-- | include/dialogs/CreateRoom.h | 1 | ||||
-rw-r--r-- | include/dialogs/InviteUsers.h | 1 | ||||
-rw-r--r-- | include/dialogs/JoinRoom.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/include/dialogs/CreateRoom.h b/include/dialogs/CreateRoom.h index 96095187..46edebdc 100644 --- a/include/dialogs/CreateRoom.h +++ b/include/dialogs/CreateRoom.h @@ -22,6 +22,7 @@ signals: protected: void paintEvent(QPaintEvent *event) override; + void showEvent(QShowEvent *event) override; private: void clearFields(); diff --git a/include/dialogs/InviteUsers.h b/include/dialogs/InviteUsers.h index 236a2558..41e6236a 100644 --- a/include/dialogs/InviteUsers.h +++ b/include/dialogs/InviteUsers.h @@ -19,6 +19,7 @@ public: protected: void paintEvent(QPaintEvent *event) override; + void showEvent(QShowEvent *event) override; signals: void closing(bool isLeaving, QStringList invitees); diff --git a/include/dialogs/JoinRoom.h b/include/dialogs/JoinRoom.h index 0c3f9188..5919f08f 100644 --- a/include/dialogs/JoinRoom.h +++ b/include/dialogs/JoinRoom.h @@ -18,6 +18,7 @@ signals: protected: void paintEvent(QPaintEvent *event) override; + void showEvent(QShowEvent *event) override; private: FlatButton *confirmBtn_; |