summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/CommonControllersWidget.cpp
diff options
context:
space:
mode:
authorMartin <M.Dierikx@student.tudelft.nl>2022-03-08 08:51:29 +0100
committerMartin <M.Dierikx@student.tudelft.nl>2022-03-08 08:51:29 +0100
commita4d031cfda477d09c7bb8278adfb2a02edca0159 (patch)
tree5937002abdc1e4ddcf188e463b337d8f068b6e01 /Source/Core/DolphinQt/Config/CommonControllersWidget.cpp
parent9af9e791f6a19d62197ad0d2e0fc39ed744cd506 (diff)
Add NonDefaultQPushButton to set autoDefault of buttons to false
Diffstat (limited to 'Source/Core/DolphinQt/Config/CommonControllersWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/CommonControllersWidget.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Config/CommonControllersWidget.cpp b/Source/Core/DolphinQt/Config/CommonControllersWidget.cpp
index fc70a2b505..245fca6d83 100644
--- a/Source/Core/DolphinQt/Config/CommonControllersWidget.cpp
+++ b/Source/Core/DolphinQt/Config/CommonControllersWidget.cpp
@@ -12,6 +12,7 @@
#include "Core/Core.h"
#include "DolphinQt/Config/ControllerInterface/ControllerInterfaceWindow.h"
+#include "DolphinQt/QtUtils/NonDefaultQPushButton.h"
CommonControllersWidget::CommonControllersWidget(QWidget* parent) : QWidget(parent)
{
@@ -26,7 +27,8 @@ void CommonControllersWidget::CreateLayout()
m_common_box = new QGroupBox(tr("Common"));
m_common_layout = new QVBoxLayout();
m_common_bg_input = new QCheckBox(tr("Background Input"));
- m_common_configure_controller_interface = new QPushButton(tr("Alternate Input Sources"));
+ m_common_configure_controller_interface =
+ new NonDefaultQPushButton(tr("Alternate Input Sources"));
m_common_layout->addWidget(m_common_bg_input);
m_common_layout->addWidget(m_common_configure_controller_interface);