summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-25 07:08:13 +0200
committerLioncash <mathew1800@gmail.com>2019-05-25 10:07:56 +0200
commit9218e347cdeed73de7e74a8911c6efca694674c5 (patch)
tree9116e5a5fa079251e4c5b44e056e9cc51c19124a /src
parentMerge pull request #2513 from lioncash/string (diff)
downloadyuzu-9218e347cdeed73de7e74a8911c6efca694674c5.tar
yuzu-9218e347cdeed73de7e74a8911c6efca694674c5.tar.gz
yuzu-9218e347cdeed73de7e74a8911c6efca694674c5.tar.bz2
yuzu-9218e347cdeed73de7e74a8911c6efca694674c5.tar.lz
yuzu-9218e347cdeed73de7e74a8911c6efca694674c5.tar.xz
yuzu-9218e347cdeed73de7e74a8911c6efca694674c5.tar.zst
yuzu-9218e347cdeed73de7e74a8911c6efca694674c5.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/util/sequence_dialog/sequence_dialog.cpp3
1 files changed, 1 insertions, 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);