diff options
| author | Tilka <tilkax@gmail.com> | 2023-11-12 19:43:05 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-12 19:43:05 +0000 |
| commit | 166423ad616d52e0f4ae209016b6cc5ec278d283 (patch) | |
| tree | 23d91e4e3fc87fb918b699d8b8fd8208e4a793ea /Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp | |
| parent | 4b385603237c453d541f50fb7ddff2d88c0c88b3 (diff) | |
| parent | 43e69d3e6ab699d2ae09dab377e11651e799f995 (diff) | |
Merge pull request #12273 from Dentomologist/dolphinqt_remove_unnecessary_qoverloads
DolphinQt: Remove unnecessary qOverloads
Diffstat (limited to 'Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp | 5 |
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))); |
