summary refs log tree commit diff
path: root/src/dialogs/CreateRoom.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/CreateRoom.h
parentci: Don't count errors during brew upgrade (diff)
downloadnheko-1716502eff3e5108f05aba8acbabd5c9287d624c.tar.xz
Improvements on the system theme
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_;