Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -580,16 +580,13 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 579 unmodified lines | ||
| 580 | 580 | |
| 581 | 581 | bool wantsSandboxRunning = shouldRunServer(); |
| 582 | 582 | static bool determinedSandboxState = false; |
| 583 | − static bool sandboxRunning = false; | |
| 584 | 583 | SandboxUtils sandboxUtils; |
| 585 | 584 | sandboxUtils.ifLocalSandboxRunningElse([&]() { |
| 586 | 585 | qCDebug(interfaceapp) << "Home sandbox appears to be running....."; |
| 587 | 586 | determinedSandboxState = true; |
| 588 | − sandboxRunning = true; | |
| 589 | 587 | }, [&, wantsSandboxRunning]() { |
| 590 | 588 | qCDebug(interfaceapp) << "Home sandbox does not appear to be running...."; |
| 591 | 589 | determinedSandboxState = true; |
| 592 | − sandboxRunning = false; | |
| 593 | 590 | if (wantsSandboxRunning) { |
| 594 | 591 | QString contentPath = getRunServerPath(); |
| 595 | 592 | SandboxUtils::runLocalSandbox(contentPath, true, RUNNING_MARKER_FILENAME); |