mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-17 17:05:02 +00:00
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:
parent
cb14431ee5
commit
d98face501
33 changed files with 1824 additions and 181 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue