aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlworkerscript
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-07-14 09:35:37 +0200
committerUlf Hermann <ulf.hermann@qt.io>2021-07-14 15:10:45 +0200
commitfda7978c20d390f3748c012834c6b6c817208a7d (patch)
tree25bf8be6dd87981b1898467cbd0858fe555a803c /src/qmlworkerscript
parentbcf3f29c6d26777c8db814477b8f3c3e19826234 (diff)
Fix life cycle methods for some QML-exposed types
Follow the rule of 5: Drop empty dtors, and add Q_DISABLE_COPY_MOVE where we do need an explicit dtor. Change-Id: Icbb9d87e1087c69b1cf1f18062a496c148935783 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'src/qmlworkerscript')
-rw-r--r--src/qmlworkerscript/qquickworkerscript_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qmlworkerscript/qquickworkerscript_p.h b/src/qmlworkerscript/qquickworkerscript_p.h
index 45e84b4440..6814cb1558 100644
--- a/src/qmlworkerscript/qquickworkerscript_p.h
+++ b/src/qmlworkerscript/qquickworkerscript_p.h
@@ -87,6 +87,7 @@ class QQmlV4Function;
class Q_QMLWORKERSCRIPT_PRIVATE_EXPORT QQuickWorkerScript : public QObject, public QQmlParserStatus
{
Q_OBJECT
+ Q_DISABLE_COPY_MOVE(QQuickWorkerScript)
Q_PROPERTY(QUrl source READ source WRITE setSource NOTIFY sourceChanged)
Q_PROPERTY(bool ready READ ready NOTIFY readyChanged REVISION(2, 15))