mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 21:02:17 +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() {
|
||||
// add a logline indicating if QTWEBENGINE_REMOTE_DEBUGGING is set or not.
|
||||
QProcessEnvironment env;
|
||||
bool webengineRemoteDebuggingSet = env.keys().contains("QTWEBENGINE_REMOTE_DEBUGGING");
|
||||
qCDebug(interfaceapp) << "QTWEBENGINE_REMOTE_DEBUGGING =" << webengineRemoteDebuggingSet;
|
||||
// add a logline indicating if QTWEBENGINE_REMOTE_DEBUGGING is set or not
|
||||
QString webengineRemoteDebugging = QProcessEnvironment::systemEnvironment().value("QTWEBENGINE_REMOTE_DEBUGGING", "false");
|
||||
qCDebug(interfaceapp) << "QTWEBENGINE_REMOTE_DEBUGGING =" << webengineRemoteDebugging;
|
||||
|
||||
// Stop third party processes so that they're not left running in the event of a subsequent shutdown crash.
|
||||
#ifdef HAVE_DDE
|
||||
|
|
Loading…
Reference in a new issue