mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 19:57:45 +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");
|
||||
#endif
|
||||
|
||||
wineTypeCombo->insertItem(0, "System Wine");
|
||||
if(core.isSteam) {
|
||||
wineTypeCombo->insertItem(0, "Steam Proton");
|
||||
wineTypeCombo->setEnabled(false);
|
||||
} else {
|
||||
wineTypeCombo->insertItem(0, "System Wine");
|
||||
|
||||
// custom wine selection is broken under flatpak
|
||||
#ifndef FLATPAK
|
||||
wineTypeCombo->insertItem(1, "Custom Wine");
|
||||
wineTypeCombo->insertItem(1, "Custom Wine");
|
||||
#endif
|
||||
}
|
||||
|
||||
layout.addWidget(wineTypeCombo);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue