History

fix how env variable is accessed

Seth Alves committed 10 years ago

Commit bda87611 parent f42e9681 file · +3 −4Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t