1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 19:57:45 +00:00

Remove useless Proton wine type

This commit is contained in:
Joshua Goins 2022-09-06 10:31:27 -04:00
parent c5a6507241
commit 32e77696b1
2 changed files with 3 additions and 9 deletions

View file

@ -27,8 +27,7 @@ enum class WineType {
System,
Custom,
Builtin, // macos only
XIVOnMac, // macos only
Proton // steam proton, only available when launched via Steam
XIVOnMac // macos only
};
enum class DalamudChannel {

View file

@ -486,17 +486,12 @@ void SettingsWindow::setupWineTab(QFormLayout& layout) {
wineTypeCombo->insertItem(3, "XIV on Mac");
#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
#ifndef FLATPAK
wineTypeCombo->insertItem(1, "Custom Wine");
wineTypeCombo->insertItem(1, "Custom Wine");
#endif
}
layout.addWidget(wineTypeCombo);