mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 13:38:02 +02:00
Replace static use of qApp with QCoreApplication
This commit is contained in:
parent
de2f8bd944
commit
a5296d50fc
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ void runLocalSandbox(QString contentPath, bool autoShutdown, bool noUpdater) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (autoShutdown) {
|
if (autoShutdown) {
|
||||||
auto pid = qApp->applicationPid();
|
auto pid = QCoreApplication::applicationPid();
|
||||||
args << "--shutdownWith" << QString::number(pid);
|
args << "--shutdownWith" << QString::number(pid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue