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/Debugger/MemoryWidget.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Source/Core/DolphinQt/Debugger/MemoryWidget.cpp') diff --git a/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp b/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp index 34dd7b767e..3910d093aa 100644 --- a/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp @@ -307,7 +307,7 @@ void MemoryWidget::ConnectWidgets() connect(m_search_offset, &QLineEdit::textChanged, this, &MemoryWidget::OnSearchAddress); connect(m_data_edit, &QLineEdit::textChanged, this, &MemoryWidget::ValidateAndPreviewInputValue); - connect(m_input_combo, qOverload(&QComboBox::currentIndexChanged), this, + connect(m_input_combo, &QComboBox::currentIndexChanged, this, &MemoryWidget::ValidateAndPreviewInputValue); connect(m_set_value, &QPushButton::clicked, this, &MemoryWidget::OnSetValue); @@ -321,8 +321,7 @@ void MemoryWidget::ConnectWidgets() } for (auto* combo : {m_display_combo, m_align_combo, m_row_length_combo}) { - connect(combo, qOverload(&QComboBox::currentIndexChanged), this, - &MemoryWidget::OnDisplayChanged); + connect(combo, &QComboBox::currentIndexChanged, this, &MemoryWidget::OnDisplayChanged); } connect(m_dual_check, &QCheckBox::toggled, this, &MemoryWidget::OnDisplayChanged); -- cgit v1.2.3