mirror of
https://github.com/overte-org/overte.git
synced 2025-04-24 05:53:29 +02:00
fix unix warning
This commit is contained in:
parent
c575e19b81
commit
dcab5a5dbc
1 changed files with 0 additions and 3 deletions
|
@ -580,16 +580,13 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
|
|||
|
||||
bool wantsSandboxRunning = shouldRunServer();
|
||||
static bool determinedSandboxState = false;
|
||||
static bool sandboxRunning = false;
|
||||
SandboxUtils sandboxUtils;
|
||||
sandboxUtils.ifLocalSandboxRunningElse([&]() {
|
||||
qCDebug(interfaceapp) << "Home sandbox appears to be running.....";
|
||||
determinedSandboxState = true;
|
||||
sandboxRunning = true;
|
||||
}, [&, wantsSandboxRunning]() {
|
||||
qCDebug(interfaceapp) << "Home sandbox does not appear to be running....";
|
||||
determinedSandboxState = true;
|
||||
sandboxRunning = false;
|
||||
if (wantsSandboxRunning) {
|
||||
QString contentPath = getRunServerPath();
|
||||
SandboxUtils::runLocalSandbox(contentPath, true, RUNNING_MARKER_FILENAME);
|
||||
|
|
Loading…
Reference in a new issue