aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmltyperegistrar
diff options
context:
space:
mode:
authorSami Shalayel <sami.shalayel@qt.io>2022-11-24 14:03:44 +0100
committerSami Shalayel <sami.shalayel@qt.io>2023-02-02 10:24:37 +0100
commite4e20fabfe5cbee890b91cf6cc35ceb57ce3fe43 (patch)
treebc4e70cf2f7fa67cd3734648f258220425cc1137 /tests/auto/qml/qmltyperegistrar
parentb641eaebfa9888d80b96e4e7adc610fe4ceb86a1 (diff)
add QML_UNCREATABLE in the tests
Add the QML_UNCREATABLE macros in the tests where it is missing. Change-Id: I58ef5a27e15f0bb99bc94bf819b38aaad3358432 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tests/auto/qml/qmltyperegistrar')
-rw-r--r--tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h
index 44dac36fbe..df755472d7 100644
--- a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h
+++ b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h
@@ -182,7 +182,7 @@ class DerivedFromForeign : public QTimeLine
Q_OBJECT
QML_ELEMENT
public:
- DerivedFromForeign(QObject *parent) : QTimeLine(1000, parent) {}
+ DerivedFromForeign(QObject *parent = nullptr) : QTimeLine(1000, parent) { }
};
class ExtensionA : public QObject