summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2017-12-20 00:20:03 +0900
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2017-12-20 00:20:03 +0900
commiteca53c7d70f510f08d226177b14baab893802861 (patch)
treeb4363dfe5ece8f5c274c74c4ef59a4a44a98f2dc /app/main.cpp
parentd946204ad1a4ba754131652e30d4cfacae89028b (diff)
Revert "Remove setting Qt Quick Controsl 2 style"
NOTE: I18N features isn't supported in EEL/CES2018 yet. This reverts commit 2f43c64c0b55dbfc7ffa1d87e952d840c7f940e1. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'app/main.cpp')
-rw-r--r--app/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/main.cpp b/app/main.cpp
index 7adc1f0..d7f15b5 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -21,6 +21,7 @@
#include <QtQml/QQmlContext>
#include <QtQml/QQmlApplicationEngine>
#include <QtQuick/QQuickWindow>
+#include <QtQuickControls2/QQuickStyle>
#include "translator.h"
@@ -37,6 +38,8 @@ int main(int argc, char *argv[])
app.setOrganizationDomain(QStringLiteral("automotivelinux.org"));
app.setOrganizationName(QStringLiteral("AutomotiveGradeLinux"));
+ QQuickStyle::setStyle("AGL");
+
QCommandLineParser parser;
parser.addPositionalArgument("port", app.translate("main", "port for binding"));
parser.addPositionalArgument("secret", app.translate("main", "secret for binding"));