Showing the changes to libraries/script-engine/src/ScriptEngines.cpp (1 of 1 file). Show all
Unified · Split
| @@ -273,9 +273,9 @@ QVariantList ScriptEngines::getRunning() { · 272 unmodified lines | ||
| 273 | 273 | } else { |
| 274 | 274 | displayURLString = displayURL.toDisplayString(QUrl::FormattingOptions(QUrl::FullyEncoded)); |
| 275 | 275 | } |
| 276 | − resultNode.insert("url", displayURLString); | |
| 277 | 276 | // The path contains the exact path/URL of the script, which also is used in the stopScript function. |
| 278 | − resultNode.insert("path", normalizeScriptURL(runningScript).toString()); | |
| 277 | + resultNode.insert("path", displayURLString); | |
| 278 | + resultNode.insert("url", normalizeScriptURL(runningScript).toString()); | |
| 279 | 279 | resultNode.insert("local", runningScriptURL.isLocalFile()); |
| 280 | 280 | result.append(resultNode); |
| 281 | 281 | } |