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/Debugger/MemoryWidget.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/Debugger/MemoryWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/MemoryWidget.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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<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); |
