diff options
| author | Dentomologist <dentomologist@gmail.com> | 2023-11-04 14:01:39 -0700 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2023-11-04 14:14:14 -0700 |
| commit | 43e69d3e6ab699d2ae09dab377e11651e799f995 (patch) | |
| tree | 89b892c7b16ae734c8c69ff65c8eb2c206d1a919 /Source/Core/DolphinQt/Config/Mapping/MappingNumeric.cpp | |
| parent | b7b8f468321dd102809b32cf55a69499c3225cf6 (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/Mapping/MappingNumeric.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/Mapping/MappingNumeric.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/Core/DolphinQt/Config/Mapping/MappingNumeric.cpp b/Source/Core/DolphinQt/Config/Mapping/MappingNumeric.cpp index 4169680743..9a98716270 100644 --- a/Source/Core/DolphinQt/Config/Mapping/MappingNumeric.cpp +++ b/Source/Core/DolphinQt/Config/Mapping/MappingNumeric.cpp @@ -18,12 +18,11 @@ MappingDouble::MappingDouble(MappingWidget* parent, ControllerEmu::NumericSettin if (const auto ui_description = m_setting.GetUIDescription()) setToolTip(tr(ui_description)); - connect(this, qOverload<double>(&QDoubleSpinBox::valueChanged), this, - [this, parent](double value) { - m_setting.SetValue(value); - ConfigChanged(); - parent->SaveSettings(); - }); + connect(this, &QDoubleSpinBox::valueChanged, this, [this, parent](double value) { + m_setting.SetValue(value); + ConfigChanged(); + parent->SaveSettings(); + }); connect(parent, &MappingWidget::ConfigChanged, this, &MappingDouble::ConfigChanged); connect(parent, &MappingWidget::Update, this, &MappingDouble::Update); |
