summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/GameConfigWidget.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-04-28 16:59:43 +0200
committerGitHub <noreply@github.com>2020-04-28 16:59:43 +0200
commit82012c4cd6778c3ebb1bc48c50a76e07667f359c (patch)
treea714dcc359090e8a4235d3993d5c77cffb300657 /Source/Core/DolphinQt/Config/GameConfigWidget.cpp
parent58de3c59ce543ffac006fa00f74a07b39393af69 (diff)
parent19115c84dd50105bb3a64df7e5017946247dcd46 (diff)
Merge pull request #8272 from lioncash/overload
DolphinQt: Use qOverload where applicable
Diffstat (limited to 'Source/Core/DolphinQt/Config/GameConfigWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/GameConfigWidget.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/Config/GameConfigWidget.cpp b/Source/Core/DolphinQt/Config/GameConfigWidget.cpp
index b0df740ba9..178541d144 100644
--- a/Source/Core/DolphinQt/Config/GameConfigWidget.cpp
+++ b/Source/Core/DolphinQt/Config/GameConfigWidget.cpp
@@ -210,12 +210,11 @@ void GameConfigWidget::ConnectWidgets()
m_enable_fast_disc, m_use_dsp_hle, m_use_monoscopic_shadows})
connect(box, &QCheckBox::stateChanged, this, &GameConfigWidget::SaveSettings);
- connect(m_deterministic_dual_core,
- static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,
+ connect(m_deterministic_dual_core, qOverload<int>(&QComboBox::currentIndexChanged), this,
&GameConfigWidget::SaveSettings);
- connect(m_depth_slider, static_cast<void (QSlider::*)(int)>(&QSlider::valueChanged), this,
+ connect(m_depth_slider, qOverload<int>(&QSlider::valueChanged), this,
&GameConfigWidget::SaveSettings);
- connect(m_convergence_spin, static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), this,
+ connect(m_convergence_spin, qOverload<int>(&QSpinBox::valueChanged), this,
&GameConfigWidget::SaveSettings);
}