Commit 6a1cc077 authored by Martin Klapetek's avatar Martin Klapetek

Add assert on uri in notifications QML plugin

parent cfb8c5a2
......@@ -23,5 +23,7 @@
void NotificationsHelperPlugin::registerTypes(const char *uri)
{
Q_ASSERT(uri == QLatin1String("org.kde.plasma.private.notifications"));
qmlRegisterType<NotificationsHelper>(uri, 1, 0, "NotificationsHelper");
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment