[calendar] qmlRegisterUncreatableType needs a bit more arguments
This commit is contained in:
parent
8349a786af
commit
b65195ee65
@ -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"));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user