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,
|
System,
|
||||||
Custom,
|
Custom,
|
||||||
Builtin, // macos only
|
Builtin, // macos only
|
||||||
XIVOnMac, // macos only
|
XIVOnMac // macos only
|
||||||
Proton // steam proton, only available when launched via Steam
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class DalamudChannel {
|
enum class DalamudChannel {
|
||||||
|
|
|
@ -486,17 +486,12 @@ 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