diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-07-30 09:35:46 -0400 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2020-04-28 16:54:19 +0200 |
| commit | 19115c84dd50105bb3a64df7e5017946247dcd46 (patch) | |
| tree | a714dcc359090e8a4235d3993d5c77cffb300657 /Source/Core/DolphinQt/Config/LogWidget.cpp | |
| parent | 58de3c59ce543ffac006fa00f74a07b39393af69 (diff) | |
DolphinQt: Use qOverload where applicable
Provides the same behvaior, but in a much more concise manner.
Diffstat (limited to 'Source/Core/DolphinQt/Config/LogWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/LogWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Config/LogWidget.cpp b/Source/Core/DolphinQt/Config/LogWidget.cpp index e21ac34043..577916e67a 100644 --- a/Source/Core/DolphinQt/Config/LogWidget.cpp +++ b/Source/Core/DolphinQt/Config/LogWidget.cpp @@ -167,7 +167,7 @@ void LogWidget::ConnectWidgets() m_log_ring_buffer.clear(); }); connect(m_log_wrap, &QCheckBox::toggled, this, &LogWidget::SaveSettings); - connect(m_log_font, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, + connect(m_log_font, qOverload<int>(&QComboBox::currentIndexChanged), this, &LogWidget::SaveSettings); connect(this, &QDockWidget::topLevelChanged, this, &LogWidget::SaveSettings); connect(&Settings::Instance(), &Settings::LogVisibilityChanged, this, &LogWidget::setVisible); |
