diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-09-19 22:42:26 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-09-19 22:42:26 +0300 |
commit | 1716502eff3e5108f05aba8acbabd5c9287d624c (patch) | |
tree | fe16cfce143a3350c1b1453edf47adbb5e13f665 /src/dialogs/LeaveRoom.h | |
parent | ci: Don't count errors during brew upgrade (diff) | |
download | nheko-1716502eff3e5108f05aba8acbabd5c9287d624c.tar.xz |
Improvements on the system theme
Diffstat (limited to 'src/dialogs/LeaveRoom.h')
-rw-r--r-- | src/dialogs/LeaveRoom.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/dialogs/LeaveRoom.h b/src/dialogs/LeaveRoom.h index 98e4938d..a35cf04d 100644 --- a/src/dialogs/LeaveRoom.h +++ b/src/dialogs/LeaveRoom.h @@ -2,7 +2,7 @@ #include <QFrame> -class FlatButton; +class QPushButton; namespace dialogs { @@ -12,14 +12,11 @@ class LeaveRoom : public QFrame public: explicit LeaveRoom(QWidget *parent = nullptr); -protected: - void paintEvent(QPaintEvent *event) override; - signals: - void closing(bool isLeaving); + void leaving(); private: - FlatButton *confirmBtn_; - FlatButton *cancelBtn_; + QPushButton *confirmBtn_; + QPushButton *cancelBtn_; }; } // dialogs |