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:
parent
c5a6507241
commit
32e77696b1
2 changed files with 3 additions and 9 deletions
|
@ -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 {
|
||||
|
|
|
@ -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");
|
||||
|
||||
// custom wine selection is broken under flatpak
|
||||
#ifndef FLATPAK
|
||||
wineTypeCombo->insertItem(1, "Custom Wine");
|
||||
#endif
|
||||
}
|
||||
|
||||
layout.addWidget(wineTypeCombo);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue