diff --git a/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp b/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp index d3099f310..cef4dddda 100644 --- a/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp +++ b/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp @@ -56,6 +56,9 @@ DeclarativeAppletScript::DeclarativeAppletScript(QObject *parent, const QVariant m_interface(0) { //qmlRegisterType(); + //FIXME: use this if/when will be possible to have properties of attached items subclasses on the left hand of expressions + /*qmlRegisterUncreatableType("org.kde.plasma.plasmoid", 2, 0, "Plasmoid", + QLatin1String("Do not create objects of type Plasmoid"));*/ qmlRegisterUncreatableType("org.kde.plasma.plasmoid", 2, 0, "Plasmoid", QLatin1String("Do not create objects of type Plasmoid")); qmlRegisterUncreatableType("org.kde.plasma.plasmoid", 2, 0, "Containment",