From 8601e6f1ee395a89867f404b36bc93077baff8ff Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 27 Oct 2019 08:08:29 +0100 Subject: proto/wine: move function prototypes --- proto-wine/ftnoir_protocol_wine.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'proto-wine/ftnoir_protocol_wine.cpp') 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); -- cgit v1.2.3