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/ConfigControls/ConfigChoice.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/ConfigControls/ConfigChoice.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/ConfigControls/ConfigChoice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Config/ConfigControls/ConfigChoice.cpp b/Source/Core/DolphinQt/Config/ConfigControls/ConfigChoice.cpp index 42b255b09a..205fd25898 100644 --- a/Source/Core/DolphinQt/Config/ConfigControls/ConfigChoice.cpp +++ b/Source/Core/DolphinQt/Config/ConfigControls/ConfigChoice.cpp @@ -13,7 +13,7 @@ ConfigChoice::ConfigChoice(const QStringList& options, const Config::Info<int>& : m_setting(setting) { addItems(options); - connect(this, qOverload<int>(&QComboBox::currentIndexChanged), this, &ConfigChoice::Update); + connect(this, &QComboBox::currentIndexChanged, this, &ConfigChoice::Update); setCurrentIndex(Config::Get(m_setting)); connect(&Settings::Instance(), &Settings::ConfigChanged, this, [this] { |
