aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlworkerscript/qquickworkerscript_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmlworkerscript/qquickworkerscript_p.h')
-rw-r--r--src/qmlworkerscript/qquickworkerscript_p.h8
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