summaryrefslogtreecommitdiff
path: root/src/controls/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/plugin.cpp')
-rw-r--r--src/controls/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/plugin.cpp b/src/controls/plugin.cpp
index 6d34f285..446357aa 100644
--- a/src/controls/plugin.cpp
+++ b/src/controls/plugin.cpp
@@ -196,7 +196,7 @@ void QtQuickControls1Plugin::registerTypes(const char *uri)
qmlRegisterSingletonType<QQuickControlSettings1>(private_uri, 1, 0, "Settings", QQuickControlsPrivate1::registerSettingsModule);
qmlRegisterUncreatableType<QQuickControlsPrivate1>(private_uri, 1, 0, "Controls", QLatin1String("Controls is an abstract type."));
- qmlRegisterType<QQuickControlsPrivate1Attached>();
+ qmlRegisterAnonymousType<QQuickControlsPrivate1Attached>(private_uri, 1);
qmlRegisterType<QQuickTreeModelAdaptor1>(private_uri, 1, 0, "TreeModelAdaptor");
qmlRegisterType<QQuickScenePosListener1>(private_uri, 1, 0, "ScenePosListener");