This commit is contained in:
georgemoralis 2025-05-27 20:57:40 +03:00
parent a7ef31b64d
commit ad284ae983

View File

@ -240,7 +240,7 @@ SettingsDialog::SettingsDialog(std::shared_ptr<gui_settings> gui_settings,
connect(ui->showBackgroundImageCheckBox, &QCheckBox::stateChanged, this, [this](int state) { connect(ui->showBackgroundImageCheckBox, &QCheckBox::stateChanged, this, [this](int state) {
#else #else
connect(ui->showBackgroundImageCheckBox, &QCheckBox::checkStateChanged, this, connect(ui->showBackgroundImageCheckBox, &QCheckBox::checkStateChanged, this,
[](Qt::CheckState state) { [this](Qt::CheckState state) {
#endif #endif
m_gui_settings->SetValue(gui::gl_showBackgroundImage, state == Qt::Checked); m_gui_settings->SetValue(gui::gl_showBackgroundImage, state == Qt::Checked);
}); });