Commit ce3c7fde authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[emojier] Register QAbstractItemModel to QML

Otherwise it fails to load

(cherry picked from commit cfbcd374)
parent f12199f7
......@@ -124,6 +124,8 @@ int main(int argc, char **argv)
KDBusService *service = new KDBusService(KDBusService::Unique | startup, &app);
qmlRegisterAnonymousType<QAbstractItemModel>("emojier", 1);
QQmlApplicationEngine engine;
new EngineWatcher(&engine);
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