mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Source: Remove redundant lambda parameter lists
This commit is contained in:
@ -210,7 +210,7 @@ void SkylanderModifyDialog::PopulateSkylanderOptions(QVBoxLayout* layout)
|
||||
layout->addLayout(hbox_last_reset);
|
||||
layout->addLayout(hbox_last_placed);
|
||||
|
||||
connect(m_buttons, &QDialogButtonBox::accepted, this, [=, this]() {
|
||||
connect(m_buttons, &QDialogButtonBox::accepted, this, [=, this] {
|
||||
if (!edit_money->hasAcceptableInput())
|
||||
{
|
||||
QMessageBox::warning(this, tr("Incorrect money value!"),
|
||||
@ -323,7 +323,7 @@ bool SkylanderModifyDialog::PopulateTrophyOptions(QVBoxLayout* layout)
|
||||
layout->addLayout(hbox);
|
||||
}
|
||||
|
||||
connect(m_buttons, &QDialogButtonBox::accepted, this, [=, this]() {
|
||||
connect(m_buttons, &QDialogButtonBox::accepted, this, [=, this] {
|
||||
m_figure_data.trophy_data.unlocked_villains = 0x0;
|
||||
for (size_t i = 0; i < MAX_VILLAINS; ++i)
|
||||
m_figure_data.trophy_data.unlocked_villains |=
|
||||
|
@ -115,7 +115,7 @@ void SkylanderPortalWindow::CreateMainWindow()
|
||||
auto* modify_btn = new QPushButton(tr("Modify Slot"));
|
||||
connect(create_btn, &QAbstractButton::clicked, this,
|
||||
&SkylanderPortalWindow::CreateSkylanderAdvanced);
|
||||
connect(clear_btn, &QAbstractButton::clicked, this, [this]() { ClearSlot(GetCurrentSlot()); });
|
||||
connect(clear_btn, &QAbstractButton::clicked, this, [this] { ClearSlot(GetCurrentSlot()); });
|
||||
connect(load_btn, &QAbstractButton::clicked, this, &SkylanderPortalWindow::LoadSelected);
|
||||
connect(load_file_btn, &QAbstractButton::clicked, this, &SkylanderPortalWindow::LoadFromFile);
|
||||
connect(modify_btn, &QAbstractButton::clicked, this, &SkylanderPortalWindow::ModifySkylander);
|
||||
@ -591,7 +591,7 @@ void SkylanderPortalWindow::CreateSkylanderAdvanced()
|
||||
|
||||
create_window->setLayout(layout);
|
||||
|
||||
connect(buttons, &QDialogButtonBox::accepted, this, [=, this]() {
|
||||
connect(buttons, &QDialogButtonBox::accepted, this, [=, this] {
|
||||
bool ok_id = false, ok_var = false;
|
||||
m_sky_id = edit_id->text().toUShort(&ok_id);
|
||||
if (!ok_id)
|
||||
|
Reference in New Issue
Block a user