Commit 6b38b293 authored by Nicolas Fella's avatar Nicolas Fella

Set app properties

parent 229e10fb
......@@ -46,6 +46,14 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
#endif
QCoreApplication::setApplicationName(QStringLiteral("ktrip"));
QCoreApplication::setOrganizationName(QStringLiteral("KDE"));
QCoreApplication::setOrganizationDomain(QStringLiteral("kde.org"));
QCoreApplication::setApplicationVersion(QStringLiteral("0.1"));
QGuiApplication::setApplicationDisplayName(QStringLiteral("KTrip"));
QGuiApplication::setDesktopFileName(QStringLiteral("org.kde.ktrip"));
QQmlApplicationEngine engine(QUrl(QStringLiteral("qrc:/qml/main.qml")));
engine.rootContext()->setContextObject(new KLocalizedContext(&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