mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 09:18:45 +02:00
fix how env variable is accessed
This commit is contained in:
parent
f42e968dda
commit
bda8761e00
1 changed files with 3 additions and 4 deletions
|
@ -1122,10 +1122,9 @@ void Application::aboutToQuit() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::cleanupBeforeQuit() {
|
void Application::cleanupBeforeQuit() {
|
||||||
// add a logline indicating if QTWEBENGINE_REMOTE_DEBUGGING is set or not.
|
// add a logline indicating if QTWEBENGINE_REMOTE_DEBUGGING is set or not
|
||||||
QProcessEnvironment env;
|
QString webengineRemoteDebugging = QProcessEnvironment::systemEnvironment().value("QTWEBENGINE_REMOTE_DEBUGGING", "false");
|
||||||
bool webengineRemoteDebuggingSet = env.keys().contains("QTWEBENGINE_REMOTE_DEBUGGING");
|
qCDebug(interfaceapp) << "QTWEBENGINE_REMOTE_DEBUGGING =" << webengineRemoteDebugging;
|
||||||
qCDebug(interfaceapp) << "QTWEBENGINE_REMOTE_DEBUGGING =" << webengineRemoteDebuggingSet;
|
|
||||||
|
|
||||||
// Stop third party processes so that they're not left running in the event of a subsequent shutdown crash.
|
// Stop third party processes so that they're not left running in the event of a subsequent shutdown crash.
|
||||||
#ifdef HAVE_DDE
|
#ifdef HAVE_DDE
|
||||||
|
|
Loading…
Reference in a new issue