From ec837cd16c53065bab175cb8d259b236a0e7ca1f Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 25 May 2019 01:08:13 -0400 Subject: [PATCH] sequence_dialog: Remove unnecessary horizontal specifier QDialogButtonBoxes are horizontal by default. --- src/citra_qt/util/sequence_dialog/sequence_dialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/citra_qt/util/sequence_dialog/sequence_dialog.cpp b/src/citra_qt/util/sequence_dialog/sequence_dialog.cpp index 8eff356216..9ccc89526a 100644 --- a/src/citra_qt/util/sequence_dialog/sequence_dialog.cpp +++ b/src/citra_qt/util/sequence_dialog/sequence_dialog.cpp @@ -12,8 +12,7 @@ SequenceDialog::SequenceDialog(QWidget* parent) : QDialog(parent) { auto* layout = new QVBoxLayout(this); key_sequence = new QKeySequenceEdit; layout->addWidget(key_sequence); - auto* buttons = - new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, Qt::Horizontal); + auto* buttons = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel); buttons->setCenterButtons(true); layout->addWidget(buttons); connect(buttons, &QDialogButtonBox::accepted, this, &QDialog::accept);