From 2146f96091a4b0462eb61d0ee3e33a47b72ee61d Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Fri, 2 Jun 2017 13:51:39 -0700 Subject: [PATCH] Replace static use of qApp with QCoreApplication --- libraries/networking/src/SandboxUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/networking/src/SandboxUtils.cpp b/libraries/networking/src/SandboxUtils.cpp index f6c7634ce5..4a348b0662 100644 --- a/libraries/networking/src/SandboxUtils.cpp +++ b/libraries/networking/src/SandboxUtils.cpp @@ -73,7 +73,7 @@ void runLocalSandbox(QString contentPath, bool autoShutdown, bool noUpdater) { } if (autoShutdown) { - auto pid = qApp->applicationPid(); + auto pid = QCoreApplication::applicationPid(); args << "--shutdownWith" << QString::number(pid); }