diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2025-06-02 16:15:47 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2025-06-17 07:00:37 +0200 |
| commit | 2692b14cfb702ec4b50f05f743babba5973547e4 (patch) | |
| tree | 10aab44c9d4339b07e3da8f0f73140a1bcd79ef8 /src/qmlworkerscript/qquickworkerscript_p.h | |
| parent | d2bc4a4330254c0c68a0ade51b59a71c4b67b470 (diff) | |
QtQml: Allow remote JavaScript files in WorkerScript
Fixes: QTBUG-19407
Change-Id: I482689396db82332e50c41e6404d58376f4dc118
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlworkerscript/qquickworkerscript_p.h')
| -rw-r--r-- | src/qmlworkerscript/qquickworkerscript_p.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/qmlworkerscript/qquickworkerscript_p.h b/src/qmlworkerscript/qquickworkerscript_p.h index 1c4c0500fe..ad2b958c6d 100644 --- a/src/qmlworkerscript/qquickworkerscript_p.h +++ b/src/qmlworkerscript/qquickworkerscript_p.h @@ -82,10 +82,12 @@ protected: private: QQuickWorkerScriptEngine *engine(); - QQuickWorkerScriptEngine *m_engine; - int m_scriptId; + QUrl m_source; - bool m_componentComplete; + QQuickWorkerScriptEngine *m_engine = nullptr; + int m_scriptId = -1; + bool m_componentComplete = true; + bool m_ready = false; }; QT_END_NAMESPACE |
