mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 00:36:47 +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();
|
bool wantsSandboxRunning = shouldRunServer();
|
||||||
static bool determinedSandboxState = false;
|
static bool determinedSandboxState = false;
|
||||||
static bool sandboxRunning = false;
|
|
||||||
SandboxUtils sandboxUtils;
|
SandboxUtils sandboxUtils;
|
||||||
sandboxUtils.ifLocalSandboxRunningElse([&]() {
|
sandboxUtils.ifLocalSandboxRunningElse([&]() {
|
||||||
qCDebug(interfaceapp) << "Home sandbox appears to be running.....";
|
qCDebug(interfaceapp) << "Home sandbox appears to be running.....";
|
||||||
determinedSandboxState = true;
|
determinedSandboxState = true;
|
||||||
sandboxRunning = true;
|
|
||||||
}, [&, wantsSandboxRunning]() {
|
}, [&, wantsSandboxRunning]() {
|
||||||
qCDebug(interfaceapp) << "Home sandbox does not appear to be running....";
|
qCDebug(interfaceapp) << "Home sandbox does not appear to be running....";
|
||||||
determinedSandboxState = true;
|
determinedSandboxState = true;
|
||||||
sandboxRunning = false;
|
|
||||||
if (wantsSandboxRunning) {
|
if (wantsSandboxRunning) {
|
||||||
QString contentPath = getRunServerPath();
|
QString contentPath = getRunServerPath();
|
||||||
SandboxUtils::runLocalSandbox(contentPath, true, RUNNING_MARKER_FILENAME);
|
SandboxUtils::runLocalSandbox(contentPath, true, RUNNING_MARKER_FILENAME);
|
||||||
|
|
Loading…
Reference in a new issue