From 19115c84dd50105bb3a64df7e5017946247dcd46 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 30 Jul 2019 09:35:46 -0400 Subject: DolphinQt: Use qOverload where applicable Provides the same behvaior, but in a much more concise manner. --- Source/Core/DolphinQt/Config/LogWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DolphinQt/Config/LogWidget.cpp') 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(&QComboBox::currentIndexChanged), this, + connect(m_log_font, qOverload(&QComboBox::currentIndexChanged), this, &LogWidget::SaveSettings); connect(this, &QDockWidget::topLevelChanged, this, &LogWidget::SaveSettings); connect(&Settings::Instance(), &Settings::LogVisibilityChanged, this, &LogWidget::setVisible); -- cgit v1.2.3