diff options
Diffstat (limited to 'proto-wine/ftnoir_protocol_wine.cpp')
-rw-r--r-- | proto-wine/ftnoir_protocol_wine.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/proto-wine/ftnoir_protocol_wine.cpp b/proto-wine/ftnoir_protocol_wine.cpp index ce6f6229..a2a49940 100644 --- a/proto-wine/ftnoir_protocol_wine.cpp +++ b/proto-wine/ftnoir_protocol_wine.cpp @@ -51,9 +51,6 @@ void wine::pose(const double *headpose, const double*) } } -QProcessEnvironment make_steam_environ(const QString& proton_version); -QString proton_path(const QString& proton_version); - module_status wine::initialize() { #ifndef OTR_WINE_NO_WRAPPER @@ -63,8 +60,11 @@ module_status wine::initialize() auto env = QProcessEnvironment::systemEnvironment(); if (s.variant_proton) { - env = make_steam_environ(s.proton_version); - wine_path = proton_path(s.proton_version); + QProcessEnvironment make_steam_environ(const QString& proton_version); + QString proton_path(const QString& proton_version); + + env = make_steam_environ(s.proton_version); + wine_path = proton_path(s.proton_version); } wrapper.setWorkingDirectory(OPENTRACK_BASE_PATH); |