register revision 1 for QQuickItem

make the base properties of revision 1 available
This commit is contained in:
Marco Martin 2017-09-13 11:29:04 +02:00
parent f4211def25
commit 48e27b5493

View File

@ -92,6 +92,7 @@ void CoreBindingsPlugin::registerTypes(const char *uri)
qmlRegisterType<PlasmaQuick::Dialog>(uri, 2, 0, "Dialog");
// HACK make properties like "opacity" work that are in REVISION 1 of QWindow
qmlRegisterRevision<QWindow, 1>(uri, 2, 0);
qmlRegisterRevision<QQuickItem, 1>(uri, 2, 0);
qmlRegisterType<ToolTip>(uri, 2, 0, "ToolTipArea");
qmlRegisterInterface<Plasma::Service>("Service");