From a4d031cfda477d09c7bb8278adfb2a02edca0159 Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 8 Mar 2022 08:51:29 +0100 Subject: Add NonDefaultQPushButton to set autoDefault of buttons to false --- Source/Core/DolphinQt/Config/CommonControllersWidget.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/Core/DolphinQt/Config/CommonControllersWidget.cpp') 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); -- cgit v1.2.3