Commit 98d2f58f authored by Nicolas Fella's avatar Nicolas Fella Committed by Dimitris Kardarakos

Fix i18n

parent 6c6b84fc
Pipeline #6126 passed with stage
in 6 minutes and 6 seconds
......@@ -21,6 +21,7 @@
#include <QQmlApplicationEngine>
#include <QtQml>
#include <QUrl>
#include <KLocalizedContext>
Q_DECL_EXPORT int main(int argc, char *argv[])
{
......@@ -30,6 +31,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
QCoreApplication::setApplicationName("calindori");
QQmlApplicationEngine engine;
engine.rootContext()->setContextObject(new KLocalizedContext(&engine));
engine.load(QUrl(QStringLiteral("qrc:///Main.qml")));
......
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