From 9218e347cdeed73de7e74a8911c6efca694674c5 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 25 May 2019 01:08:13 -0400 Subject: sequence_dialog: Remove unnecessary horizontal specifier QDialogButtonBoxes are horizontal by default. --- src/yuzu/util/sequence_dialog/sequence_dialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/yuzu/util/sequence_dialog/sequence_dialog.cpp b/src/yuzu/util/sequence_dialog/sequence_dialog.cpp index d3edf6ec3..16a5473ca 100644 --- a/src/yuzu/util/sequence_dialog/sequence_dialog.cpp +++ b/src/yuzu/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); -- cgit v1.2.3