diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2022-03-27 16:05:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-27 16:05:23 +0200 |
| commit | b379df360a4344133625c459e28f45d7061ccc04 (patch) | |
| tree | 72c56008ab3713da853463d2a74be7fc7efe3e62 /Source/Core/DolphinQt/Config/GamecubeControllersWidget.cpp | |
| parent | 56b5c677c06f714282c2b9464715c68f17d98205 (diff) | |
| parent | a4d031cfda477d09c7bb8278adfb2a02edca0159 (diff) | |
Merge pull request #10497 from martinD2014/master
Change the highlighted button on each window
Diffstat (limited to 'Source/Core/DolphinQt/Config/GamecubeControllersWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/GamecubeControllersWidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Config/GamecubeControllersWidget.cpp b/Source/Core/DolphinQt/Config/GamecubeControllersWidget.cpp index 05db15ae13..a4ce7b4bab 100644 --- a/Source/Core/DolphinQt/Config/GamecubeControllersWidget.cpp +++ b/Source/Core/DolphinQt/Config/GamecubeControllersWidget.cpp @@ -21,6 +21,7 @@ #include "DolphinQt/Config/Mapping/GCPadWiiUConfigDialog.h" #include "DolphinQt/Config/Mapping/MappingWindow.h" +#include "DolphinQt/QtUtils/NonDefaultQPushButton.h" #include "DolphinQt/Settings.h" #include "InputCommon/GCAdapter.h" @@ -76,7 +77,7 @@ void GamecubeControllersWidget::CreateLayout() { auto* gc_label = new QLabel(tr("Port %1").arg(i + 1)); auto* gc_box = m_gc_controller_boxes[i] = new QComboBox(); - auto* gc_button = m_gc_buttons[i] = new QPushButton(tr("Configure")); + auto* gc_button = m_gc_buttons[i] = new NonDefaultQPushButton(tr("Configure")); for (const auto& item : s_gc_types) { |
