[calendar] qmlRegisterUncreatableType needs a bit more arguments

This commit is contained in:
Martin Klapetek 2015-11-16 11:52:17 -05:00
parent 8349a786af
commit b65195ee65

View File

@ -44,6 +44,7 @@ void CalendarPlugin::registerTypes(const char *uri)
qmlRegisterType<Calendar>(uri, 2, 0, "Calendar");
qmlRegisterType<QAbstractItemModel>();
qmlRegisterType<QAbstractListModel>();
qmlRegisterUncreatableType<EventDataDecorator>();
qmlRegisterSingletonType<EventPluginsManager>(uri, 2, 0, "EventPluginsManager", event_plugins_manager_provider);
qmlRegisterUncreatableType<EventDataDecorator>(uri, 2, 0, "EventDataDecorator",
QStringLiteral("Unabel to create EventDataDecorator from QML"));
}