Verified Commit 05dfd658 authored by Jonah Brüchert's avatar Jonah Brüchert
Browse files

Add KI18n context object

parent 1293cf82
......@@ -24,6 +24,7 @@
#include <QtWebEngine>
#include <KLocalizedString>
#include <KLocalizedContext>
#include "browsermanager.h"
#include "urlfilterproxymodel.h"
......@@ -47,6 +48,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
// QML loading
QQmlApplicationEngine engine;
engine.rootContext()->setContextObject(new KLocalizedContext(&engine));
// Setup QtWebEngine
qputenv("QTWEBENGINE_DIALOG_SET", "QtQuickControls2");
......
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