diff options
| author | Léo Lam <leo@leolam.fr> | 2020-04-28 16:59:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-28 16:59:43 +0200 |
| commit | 82012c4cd6778c3ebb1bc48c50a76e07667f359c (patch) | |
| tree | a714dcc359090e8a4235d3993d5c77cffb300657 /Source/Core/DolphinQt/Config/Graphics/GraphicsChoice.cpp | |
| parent | 58de3c59ce543ffac006fa00f74a07b39393af69 (diff) | |
| parent | 19115c84dd50105bb3a64df7e5017946247dcd46 (diff) | |
Merge pull request #8272 from lioncash/overload
DolphinQt: Use qOverload where applicable
Diffstat (limited to 'Source/Core/DolphinQt/Config/Graphics/GraphicsChoice.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/Graphics/GraphicsChoice.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/Config/Graphics/GraphicsChoice.cpp b/Source/Core/DolphinQt/Config/Graphics/GraphicsChoice.cpp index 80b713c84c..8be984db06 100644 --- a/Source/Core/DolphinQt/Config/Graphics/GraphicsChoice.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/GraphicsChoice.cpp @@ -14,8 +14,7 @@ GraphicsChoice::GraphicsChoice(const QStringList& options, const Config::ConfigI : m_setting(setting) { addItems(options); - connect(this, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, - &GraphicsChoice::Update); + connect(this, qOverload<int>(&QComboBox::currentIndexChanged), this, &GraphicsChoice::Update); setCurrentIndex(Config::Get(m_setting)); connect(&Settings::Instance(), &Settings::ConfigChanged, [this] { |
