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/LogWidget.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/LogWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/LogWidget.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/Config/LogWidget.cpp b/Source/Core/DolphinQt/Config/LogWidget.cpp index 378a3a4da0..4b81701abb 100644 --- a/Source/Core/DolphinQt/Config/LogWidget.cpp +++ b/Source/Core/DolphinQt/Config/LogWidget.cpp @@ -163,8 +163,7 @@ void LogWidget::ConnectWidgets() m_log_ring_buffer.clear(); }); connect(m_log_wrap, &QCheckBox::toggled, this, &LogWidget::SaveSettings); - connect(m_log_font, qOverload<int>(&QComboBox::currentIndexChanged), this, - &LogWidget::SaveSettings); + connect(m_log_font, &QComboBox::currentIndexChanged, this, &LogWidget::SaveSettings); connect(this, &QDockWidget::topLevelChanged, this, &LogWidget::SaveSettings); connect(&Settings::Instance(), &Settings::LogVisibilityChanged, this, &LogWidget::setVisible); } |
