diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-10-02 21:53:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-02 21:53:58 +0000 |
commit | 8445296e453aad19781c955e612435c2da3e91cb (patch) | |
tree | 9c2ddc4a2a784d5fae9b87ee000d33ac4919a4a9 /proto-wine/ftnoir_protocol_wine.h | |
parent | 04bed1c5dd5bf658edff5cf18d9c5aef3f2af1d1 (diff) | |
parent | 4dd97af0f139f3ddc8f34a24ee961a1046015d3f (diff) |
Merge pull request #1932 from Priton-CE/wine-extended-proton
Diffstat (limited to 'proto-wine/ftnoir_protocol_wine.h')
-rw-r--r-- | proto-wine/ftnoir_protocol_wine.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/proto-wine/ftnoir_protocol_wine.h b/proto-wine/ftnoir_protocol_wine.h index f79f65dc..718699ac 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}; }; @@ -79,10 +82,13 @@ private: settings s; private slots: - void onWinePathComboUpdated(QString selection); + void onWinePathComboUpdated(); + void onRadioButtonsChanged(); void doBrowseWine(); - void doBrowsePrefix(); + void doBrowseWinePrefix(); + + void doBrowseProtonPrefix(); void doOK(); void doCancel(); |