mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-21 04:07:46 +00:00
When using Steam, force Steam Proton
This commit is contained in:
parent
28c8b0918d
commit
02fb12987f
1 changed files with 7 additions and 2 deletions
|
@ -483,12 +483,17 @@ void SettingsWindow::setupWineTab(QFormLayout& layout) {
|
||||||
wineTypeCombo->insertItem(3, "XIV on Mac");
|
wineTypeCombo->insertItem(3, "XIV on Mac");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if(core.isSteam) {
|
||||||
|
wineTypeCombo->insertItem(0, "Steam Proton");
|
||||||
|
wineTypeCombo->setEnabled(false);
|
||||||
|
} else {
|
||||||
wineTypeCombo->insertItem(0, "System Wine");
|
wineTypeCombo->insertItem(0, "System Wine");
|
||||||
|
|
||||||
// custom wine selection is broken under flatpak
|
// custom wine selection is broken under flatpak
|
||||||
#ifndef FLATPAK
|
#ifndef FLATPAK
|
||||||
wineTypeCombo->insertItem(1, "Custom Wine");
|
wineTypeCombo->insertItem(1, "Custom Wine");
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
layout.addWidget(wineTypeCombo);
|
layout.addWidget(wineTypeCombo);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue