mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
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.
This commit is contained in:
@ -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<int>(&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<int>(&QComboBox::currentIndexChanged), this,
|
||||
&MemoryWidget::OnDisplayChanged);
|
||||
connect(combo, &QComboBox::currentIndexChanged, this, &MemoryWidget::OnDisplayChanged);
|
||||
}
|
||||
|
||||
connect(m_dual_check, &QCheckBox::toggled, this, &MemoryWidget::OnDisplayChanged);
|
||||
|
Reference in New Issue
Block a user