Showing the changes to interface/src/scripting/DesktopScriptingInterface.cpp (1 of 2 files). Show all
Unified · Split
| @@ -132,7 +132,6 @@ InteractiveWindowPointer DesktopScriptingInterface::createWindow(const QString& · 131 unmodified lines | |||
| 132 | } | 132 | } |
| 133 | 133 | ||
| 134 | InteractiveWindowPointer DesktopScriptingInterface::createWindowOnThread(const QString& sourceUrl, const QVariantMap& properties, QThread* targetThread) { | 134 | InteractiveWindowPointer DesktopScriptingInterface::createWindowOnThread(const QString& sourceUrl, const QVariantMap& properties, QThread* targetThread) { |
| 135 | |||
| 136 | // The offscreen surface already validates against non-local QML sources, but we also need to ensure that | 135 | // The offscreen surface already validates against non-local QML sources, but we also need to ensure that |
| 137 | // if we create top level QML, like dock widgets or other types of QQuickView containing desktop windows | 136 | // if we create top level QML, like dock widgets or other types of QQuickView containing desktop windows |
| 138 | // that the source URL is permitted | 137 | // that the source URL is permitted |