diff options
| author | Priton-CE <thies.eric@gmail.com> | 2024-09-20 23:02:54 +0200 |
|---|---|---|
| committer | Priton-CE <thies.eric@gmail.com> | 2024-09-20 23:02:54 +0200 |
| commit | eeced7f4878742b08a84fd00b166097182037409 (patch) | |
| tree | ad3deae47444fae641bec82e684800123c3ea636 /proto-wine/ftnoir_protocol_wine.h | |
| parent | 9ed96e067aa6463d82197c4654028876fa15b763 (diff) | |
implemented logic to disable irrelevant ui components
Diffstat (limited to 'proto-wine/ftnoir_protocol_wine.h')
| -rw-r--r-- | proto-wine/ftnoir_protocol_wine.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/proto-wine/ftnoir_protocol_wine.h b/proto-wine/ftnoir_protocol_wine.h index f79f65dc..b6d61e58 100644 --- a/proto-wine/ftnoir_protocol_wine.h +++ b/proto-wine/ftnoir_protocol_wine.h @@ -19,8 +19,10 @@ using namespace options; struct settings : opts { settings() : opts{"proto-wine"} {} - value<bool> variant_proton{b, "variant-proton", false }, - variant_wine{b, "variant-wine", true }, + value<bool> variant_wine{b, "variant-wine", true }, + variant_proton{b, "variant-proton", false }, + variant_proton_steamplay{b, "variant-proton-steamplay", true }, + variant_proton_external{b, "variant-proton-external", false }, fsync{b, "fsync", true}, esync{b, "esync", true}; @@ -29,6 +31,7 @@ struct settings : opts value<QVariant> wine_select_path{b, "wine-select-version", {"WINE"}}; value<QString> wine_custom_path{b, "wine-custom-version", ""}; value<QString> wineprefix{b, "wineprefix", "~/.wine/"}; + value<QString> protonprefix{b, "protonprefix", ""}; value<int> protocol{b, "protocol", 2}; }; @@ -80,6 +83,7 @@ private: private slots: void onWinePathComboUpdated(QString selection); + void onRadioButtonsChanged(); void doBrowseWine(); void doBrowsePrefix(); |
