From 43e69d3e6ab699d2ae09dab377e11651e799f995 Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Sat, 4 Nov 2023 14:01:39 -0700 Subject: 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. --- Source/Core/DolphinQt/ConvertDialog.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Source/Core/DolphinQt/ConvertDialog.cpp') diff --git a/Source/Core/DolphinQt/ConvertDialog.cpp b/Source/Core/DolphinQt/ConvertDialog.cpp index e6be43015f..4ed7536c52 100644 --- a/Source/Core/DolphinQt/ConvertDialog.cpp +++ b/Source/Core/DolphinQt/ConvertDialog.cpp @@ -108,9 +108,8 @@ ConvertDialog::ConvertDialog(QList> fi setLayout(main_layout); - connect(m_format, QOverload::of(&QComboBox::currentIndexChanged), this, - &ConvertDialog::OnFormatChanged); - connect(m_compression, QOverload::of(&QComboBox::currentIndexChanged), this, + connect(m_format, &QComboBox::currentIndexChanged, this, &ConvertDialog::OnFormatChanged); + connect(m_compression, &QComboBox::currentIndexChanged, this, &ConvertDialog::OnCompressionChanged); connect(convert_button, &QPushButton::clicked, this, &ConvertDialog::Convert); -- cgit v1.2.3