summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/GamecubeControllersWidget.cpp
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2023-11-04 14:01:39 -0700
committerDentomologist <dentomologist@gmail.com>2023-11-04 14:14:14 -0700
commit43e69d3e6ab699d2ae09dab377e11651e799f995 (patch)
tree89b892c7b16ae734c8c69ff65c8eb2c206d1a919 /Source/Core/DolphinQt/Config/GamecubeControllersWidget.cpp
parentb7b8f468321dd102809b32cf55a69499c3225cf6 (diff)
DolphinQt: Remove unnecessary qOverloads
qOverload is used to disambiguate pointers to overloaded functions, but most of the usages in the code base were with non-overloaded functions.
Diffstat (limited to 'Source/Core/DolphinQt/Config/GamecubeControllersWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/GamecubeControllersWidget.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/Core/DolphinQt/Config/GamecubeControllersWidget.cpp b/Source/Core/DolphinQt/Config/GamecubeControllersWidget.cpp
index 7fb37866ac..2d2474ac4c 100644
--- a/Source/Core/DolphinQt/Config/GamecubeControllersWidget.cpp
+++ b/Source/Core/DolphinQt/Config/GamecubeControllersWidget.cpp
@@ -108,11 +108,10 @@ void GamecubeControllersWidget::ConnectWidgets()
{
for (size_t i = 0; i < m_gc_controller_boxes.size(); ++i)
{
- connect(m_gc_controller_boxes[i], qOverload<int>(&QComboBox::currentIndexChanged), this,
- [this, i] {
- OnGCTypeChanged(i);
- SaveSettings();
- });
+ connect(m_gc_controller_boxes[i], &QComboBox::currentIndexChanged, this, [this, i] {
+ OnGCTypeChanged(i);
+ SaveSettings();
+ });
connect(m_gc_buttons[i], &QPushButton::clicked, this, [this, i] { OnGCPadConfigure(i); });
}
}