mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 23:08:47 +00: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:
parent
b7b8f46832
commit
43e69d3e6a
33 changed files with 101 additions and 141 deletions
|
@ -108,11 +108,10 @@ void GamecubeControllersWidget::ConnectWidgets()
|
|||
{
|
||||
for (size_t i = 0; i < m_gc_controller_boxes.size(); ++i)
|
||||
{
|
||||
connect(m_gc_controller_boxes[i], qOverload<int>(&QComboBox::currentIndexChanged), this,
|
||||
[this, i] {
|
||||
OnGCTypeChanged(i);
|
||||
SaveSettings();
|
||||
});
|
||||
connect(m_gc_controller_boxes[i], &QComboBox::currentIndexChanged, this, [this, i] {
|
||||
OnGCTypeChanged(i);
|
||||
SaveSettings();
|
||||
});
|
||||
connect(m_gc_buttons[i], &QPushButton::clicked, this, [this, i] { OnGCPadConfigure(i); });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue