summaryrefslogtreecommitdiffhomepage
path: root/proto-wine/ftnoir_protocol_wine.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-06-17 15:05:36 +0000
committerGitHub <noreply@github.com>2020-06-17 15:05:36 +0000
commit2493b7256c099e39bdf0d047cb288f3f39f7fa10 (patch)
tree5c8d466fe4efb53558ae8538c14b8d558e20a14a /proto-wine/ftnoir_protocol_wine.h
parent9135324f0031a18c5419babada6615a4eadc4882 (diff)
parent5e3cd6fbe898c6452e61b4edb8d78d4d158fc254 (diff)
Merge pull request #1103 from russell/proton
Proton directory discovery
Diffstat (limited to 'proto-wine/ftnoir_protocol_wine.h')
-rw-r--r--proto-wine/ftnoir_protocol_wine.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/proto-wine/ftnoir_protocol_wine.h b/proto-wine/ftnoir_protocol_wine.h
index 0e48e5b5..f7346be9 100644
--- a/proto-wine/ftnoir_protocol_wine.h
+++ b/proto-wine/ftnoir_protocol_wine.h
@@ -9,9 +9,10 @@
#include "options/options.hpp"
using namespace options;
-#include <QString>
-#include <QProcess>
#include <QMutex>
+#include <QProcess>
+#include <QString>
+#include <QVariant>
#include <QDebug>
@@ -24,8 +25,8 @@ struct settings : opts
esync{b, "esync", true};
value<int> proton_appid{b, "proton-appid", 0};
- value<QString> proton_version{b, "proton-version", {} },
- wineprefix{b, "wineprefix", "~/.wine"};
+ value<QVariant> proton_path{b, "proton-version", {} };
+ value<QString> wineprefix{b, "wineprefix", "~/.wine"};
value<int> protocol{b, "protocol", 2};
};