Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1122,10 +1122,9 @@ void Application::aboutToQuit() { · 1121 unmodified lines | ||
| 1122 | 1122 | } |
| 1123 | 1123 | |
| 1124 | 1124 | void Application::cleanupBeforeQuit() { |
| 1125 | − // add a logline indicating if QTWEBENGINE_REMOTE_DEBUGGING is set or not. | |
| 1126 | − QProcessEnvironment env; | |
| 1127 | − bool webengineRemoteDebuggingSet = env.keys().contains("QTWEBENGINE_REMOTE_DEBUGGING"); | |
| 1128 | − qCDebug(interfaceapp) << "QTWEBENGINE_REMOTE_DEBUGGING =" << webengineRemoteDebuggingSet; | |
| 1125 | + // add a logline indicating if QTWEBENGINE_REMOTE_DEBUGGING is set or not | |
| 1126 | + QString webengineRemoteDebugging = QProcessEnvironment::systemEnvironment().value("QTWEBENGINE_REMOTE_DEBUGGING", "false"); | |
| 1127 | + qCDebug(interfaceapp) << "QTWEBENGINE_REMOTE_DEBUGGING =" << webengineRemoteDebugging; | |
| 1129 | 1128 | |
| 1130 | 1129 | // Stop third party processes so that they're not left running in the event of a subsequent shutdown crash. |
| 1131 | 1130 | #ifdef HAVE_DDE |