summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.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/Graphics/GeneralWidget.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/Graphics/GeneralWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
index 95a39f9a45..6ea5f82c0c 100644
--- a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
+++ b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
@@ -132,9 +132,8 @@ void GeneralWidget::CreateWidgets()
void GeneralWidget::ConnectWidgets()
{
// Video Backend
- connect(m_backend_combo, qOverload<int>(&QComboBox::currentIndexChanged), this,
- &GeneralWidget::SaveSettings);
- connect(m_adapter_combo, qOverload<int>(&QComboBox::currentIndexChanged), this, [&](int index) {
+ connect(m_backend_combo, &QComboBox::currentIndexChanged, this, &GeneralWidget::SaveSettings);
+ connect(m_adapter_combo, &QComboBox::currentIndexChanged, this, [&](int index) {
g_Config.iAdapter = index;
Config::SetBaseOrCurrent(Config::GFX_ADAPTER, index);
emit BackendChanged(QString::fromStdString(Config::Get(Config::MAIN_GFX_BACKEND)));