mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +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,9 +108,8 @@ ConvertDialog::ConvertDialog(QList<std::shared_ptr<const UICommon::GameFile>> fi
|
|||
|
||||
setLayout(main_layout);
|
||||
|
||||
connect(m_format, QOverload<int>::of(&QComboBox::currentIndexChanged), this,
|
||||
&ConvertDialog::OnFormatChanged);
|
||||
connect(m_compression, QOverload<int>::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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue