summaryrefslogtreecommitdiffhomepage
path: root/proto-wine/ftnoir_protocol_wine.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-02-26 17:44:53 +0100
committerGitHub <noreply@github.com>2023-02-26 17:44:53 +0100
commit0e775183266224b095d9878174023e40dbf6e267 (patch)
tree563f2b0541b1296ee929938b1b378486652714ac /proto-wine/ftnoir_protocol_wine.h
parent77c824e2113a7d68123d7a153f4bcd2aacce944f (diff)
parent9a7e5f1b6e18ee4f0c3455c683f7023c2fd66fcb (diff)
Merge pull request #1620 from Priton-CE/upstream-merge
Diffstat (limited to 'proto-wine/ftnoir_protocol_wine.h')
-rw-r--r--proto-wine/ftnoir_protocol_wine.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/proto-wine/ftnoir_protocol_wine.h b/proto-wine/ftnoir_protocol_wine.h
index f7346be95..23845d512 100644
--- a/proto-wine/ftnoir_protocol_wine.h
+++ b/proto-wine/ftnoir_protocol_wine.h
@@ -26,7 +26,9 @@ struct settings : opts
value<int> proton_appid{b, "proton-appid", 0};
value<QVariant> proton_path{b, "proton-version", {} };
- value<QString> wineprefix{b, "wineprefix", "~/.wine"};
+ value<QVariant> wine_select_path{b, "wine-select-version", {"WINE"}};
+ value<QString> wine_custom_path{b, "wine-custom-version", ""};
+ value<QString> wineprefix{b, "wineprefix", "~/Games/star-citizen/"};
value<int> protocol{b, "protocol", 2};
};
@@ -77,6 +79,11 @@ private:
settings s;
private slots:
+ void onWinePathComboUpdated(QString selection);
+
+ void doBrowseWine();
+ void doBrowsePrefix();
+
void doOK();
void doCancel();
};