summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2017-12-15 16:59:25 +0900
committerTasuku Suzuki <tasuku.suzuki@qt.io>2017-12-15 16:59:38 +0900
commitc19628aa696de048b34651dff85ccb0448ce2cd1 (patch)
tree34cbd6ae252bd504c302e61fb13aa32822fbbefe /app/main.cpp
parent1fc5b34801d033a50a683687b18f05e250fee9d4 (diff)
Remove setting Qt Quick Controsl 2 style
The style will be set through an environment variable https://gerrit.automotivelinux.org/gerrit/#/c/12055/ Change-Id: I64bad6432311fbc56984e85b0453820adb46d265 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
Diffstat (limited to 'app/main.cpp')
-rw-r--r--app/main.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/main.cpp b/app/main.cpp
index ed393a4..a75e779 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -21,7 +21,6 @@
#include <QtQml/QQmlContext>
#include <QtQml/QQmlApplicationEngine>
#include <QtQuick/QQuickWindow>
-#include <QtQuickControls2/QQuickStyle>
#include "translator.h"
@@ -43,8 +42,6 @@ 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"));