summary refs log tree commit diff
path: root/src/dialogs/CreateRoom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/CreateRoom.h')
-rw-r--r--src/dialogs/CreateRoom.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/dialogs/CreateRoom.h b/src/dialogs/CreateRoom.h

index 46edebdc..22ac6a43 100644 --- a/src/dialogs/CreateRoom.h +++ b/src/dialogs/CreateRoom.h
@@ -4,7 +4,7 @@ #include <mtx.hpp> -class FlatButton; +class QPushButton; class TextField; class QComboBox; class Toggle; @@ -18,10 +18,9 @@ public: CreateRoom(QWidget *parent = nullptr); signals: - void closing(bool isCreating, const mtx::requests::CreateRoom &request); + void createRoom(const mtx::requests::CreateRoom &request); protected: - void paintEvent(QPaintEvent *event) override; void showEvent(QShowEvent *event) override; private: @@ -32,8 +31,8 @@ private: Toggle *directToggle_; - FlatButton *confirmBtn_; - FlatButton *cancelBtn_; + QPushButton *confirmBtn_; + QPushButton *cancelBtn_; TextField *nameInput_; TextField *topicInput_;