summary refs log tree commit diff
path: root/src/dialogs/LeaveRoom.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-09-19 22:42:26 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-09-19 22:42:26 +0300
commit1716502eff3e5108f05aba8acbabd5c9287d624c (patch)
treefe16cfce143a3350c1b1453edf47adbb5e13f665 /src/dialogs/LeaveRoom.h
parentci: Don't count errors during brew upgrade (diff)
downloadnheko-1716502eff3e5108f05aba8acbabd5c9287d624c.tar.xz
Improvements on the system theme
Diffstat (limited to 'src/dialogs/LeaveRoom.h')
-rw-r--r--src/dialogs/LeaveRoom.h11
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