mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-26 12:04:47 +00:00
clang fix
This commit is contained in:
parent
efb392edcd
commit
114d7aaf62
@ -184,7 +184,8 @@ SettingsDialog::SettingsDialog(std::shared_ptr<gui_settings> gui_settings,
|
|||||||
connect(ui->changelogCheckBox, &QCheckBox::stateChanged, this,
|
connect(ui->changelogCheckBox, &QCheckBox::stateChanged, this,
|
||||||
[](int state) { Config::setAlwaysShowChangelog(state == Qt::Checked); });
|
[](int state) { Config::setAlwaysShowChangelog(state == Qt::Checked); });
|
||||||
#else
|
#else
|
||||||
connect(ui->updateCheckBox, &QCheckBox::checkStateChanged, this, [this](Qt::CheckState state) {
|
connect(ui->updateCheckBox, &QCheckBox::checkStateChanged, this,
|
||||||
|
[this](Qt::CheckState state) {
|
||||||
m_gui_settings->SetValue(gui::gen_checkForUpdates, state == Qt::Checked);
|
m_gui_settings->SetValue(gui::gen_checkForUpdates, state == Qt::Checked);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -200,7 +201,7 @@ SettingsDialog::SettingsDialog(std::shared_ptr<gui_settings> gui_settings,
|
|||||||
});
|
});
|
||||||
|
|
||||||
connect(ui->checkUpdateButton, &QPushButton::clicked, this, [this]() {
|
connect(ui->checkUpdateButton, &QPushButton::clicked, this, [this]() {
|
||||||
auto checkUpdate = new CheckUpdate(m_gui_settings,true);
|
auto checkUpdate = new CheckUpdate(m_gui_settings, true);
|
||||||
checkUpdate->exec();
|
checkUpdate->exec();
|
||||||
});
|
});
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user