aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qsgitemsmodule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/items/qsgitemsmodule.cpp')
-rw-r--r--src/declarative/items/qsgitemsmodule.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/declarative/items/qsgitemsmodule.cpp b/src/declarative/items/qsgitemsmodule.cpp
index 6d9408500a..2ad7e592f3 100644
--- a/src/declarative/items/qsgitemsmodule.cpp
+++ b/src/declarative/items/qsgitemsmodule.cpp
@@ -130,7 +130,8 @@ static void qt_sgitems_defineModule(const char *uri, int major, int minor)
qmlRegisterType<QDeclarativePathArc>("QtQuick",2,0,"PathArc");
qmlRegisterType<QDeclarativePathSvg>("QtQuick",2,0,"PathSvg");
qmlRegisterType<QSGPathView>(uri,major,minor,"PathView");
- qmlRegisterUncreatableType<QSGBasePositioner>(uri,major,minor,"Positioner","Positioner is an abstract type that is only available as an attached property.");
+ qmlRegisterUncreatableType<QSGBasePositioner>(uri,major,minor,"Positioner",
+ QStringLiteral("Positioner is an abstract type that is only available as an attached property."));
#ifndef QT_NO_VALIDATOR
qmlRegisterType<QIntValidator>(uri,major,minor,"IntValidator");
qmlRegisterType<QDoubleValidator>(uri,major,minor,"DoubleValidator");
@@ -160,9 +161,6 @@ static void qt_sgitems_defineModule(const char *uri, int major, int minor)
qmlRegisterType<QValidator>();
#endif
qmlRegisterType<QSGVisualModel>();
-#ifndef QT_NO_ACTION
- qmlRegisterType<QAction>();
-#endif
qmlRegisterType<QSGPen>();
qmlRegisterType<QSGFlickableVisibleArea>();
qRegisterMetaType<QSGAnchorLine>("QSGAnchorLine");