Game-compatibility - improved (#2367)

* Game-compatibility - improved

* +

none of these texts have a translation \o/

* Fix

- html_url has been removed, the url is now built dynamically from the issue_number, and the file has decreased in size from 537kb to 355KB;
-Fix QProgressDialog
- change the correct directory, from my ford to the official one

* TR
This commit is contained in:
DanielSvoboda 2025-02-08 12:25:55 -03:00 committed by GitHub
parent cb14431ee5
commit d98face501
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 1824 additions and 181 deletions

View file

@ -159,14 +159,18 @@ SettingsDialog::SettingsDialog(std::span<const QString> physical_devices,
});
#if (QT_VERSION < QT_VERSION_CHECK(6, 7, 0))
connect(ui->enableCompatibilityCheckBox, &QCheckBox::stateChanged, this, [this](int state) {
connect(ui->enableCompatibilityCheckBox, &QCheckBox::stateChanged, this,
[this, m_compat_info](int state) {
#else
connect(ui->enableCompatibilityCheckBox, &QCheckBox::checkStateChanged, this,
[this](Qt::CheckState state) {
[this, m_compat_info](Qt::CheckState state) {
#endif
Config::setCompatibilityEnabled(state);
emit CompatibilityChanged();
});
Config::setCompatibilityEnabled(state);
if (state) {
m_compat_info->LoadCompatibilityFile();
}
emit CompatibilityChanged();
});
}
// Gui TAB