From a7388a70bed983865797ac22b98eb34673406c19 Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 11 Mar 2022 12:53:23 +0100 Subject: Use standard buttons where possible Standard buttons are ordered in the right way and sometimes have an icon. Bug: https://matrix.to/#/%23nheko%3Anheko.im/%2476PZ2m6YftX8mqGIe9ettKbh_-pEYeVRQSJBfwFzWi0?via=pixie.town&via=matrix.org&via=matrix.flexinos.tech&via=half-shot.uk --- src/dialogs/CreateRoom.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dialogs/CreateRoom.h') diff --git a/src/dialogs/CreateRoom.h b/src/dialogs/CreateRoom.h index 54936dfe..c395941d 100644 --- a/src/dialogs/CreateRoom.h +++ b/src/dialogs/CreateRoom.h @@ -5,6 +5,7 @@ #pragma once +#include #include #include @@ -37,7 +38,7 @@ private: Toggle *directToggle_; QPushButton *confirmBtn_; - QPushButton *cancelBtn_; + QDialogButtonBox *buttonBox_; TextField *nameInput_; TextField *topicInput_; -- cgit 1.5.1