Commit 572a8ba8 authored by Anupam Basak's avatar Anupam Basak

Remove KLocalizedContext initialization

parent cbddcfc2
......@@ -18,10 +18,8 @@
#endif
#if defined Q_OS_MACOS || defined Q_OS_WIN
#include <KF5/KI18n/KLocalizedContext>
#include <KF5/KI18n/KLocalizedString>
#else
#include <KI18n/KLocalizedContext>
#include <KI18n/KLocalizedString>
#endif
......@@ -93,7 +91,6 @@ int main(int argc, char *argv[])
#ifdef STATIC_MAUIKIT
MauiKit::getInstance().registerTypes();
#endif
engine.rootContext()->setContextObject(new KLocalizedContext(&engine));
engine.addImageProvider("contact", new ContactImage(QQuickImageProvider::ImageType::Image));
qmlRegisterType<ContactsModel>(COMMUNICATOR_URI, 1, 0, "ContactsList");
......
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