summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/NetPlay/PadMappingDialog.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/NetPlay/PadMappingDialog.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/NetPlay/PadMappingDialog.cpp')
-rw-r--r--Source/Core/DolphinQt/NetPlay/PadMappingDialog.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/NetPlay/PadMappingDialog.cpp b/Source/Core/DolphinQt/NetPlay/PadMappingDialog.cpp
index 90836a5db0..35946d8f6d 100644
--- a/Source/Core/DolphinQt/NetPlay/PadMappingDialog.cpp
+++ b/Source/Core/DolphinQt/NetPlay/PadMappingDialog.cpp
@@ -56,14 +56,12 @@ void PadMappingDialog::ConnectWidgets()
{
for (const auto& combo : combo_group)
{
- connect(combo, qOverload<int>(&QComboBox::currentIndexChanged), this,
- &PadMappingDialog::OnMappingChanged);
+ connect(combo, &QComboBox::currentIndexChanged, this, &PadMappingDialog::OnMappingChanged);
}
}
for (const auto& checkbox : m_gba_boxes)
{
- connect(checkbox, qOverload<int>(&QCheckBox::stateChanged), this,
- &PadMappingDialog::OnMappingChanged);
+ connect(checkbox, &QCheckBox::stateChanged, this, &PadMappingDialog::OnMappingChanged);
}
}