diff options
author | Tasuku Suzuki <tasuku.suzuki@qt.io> | 2017-12-27 20:27:45 +0900 |
---|---|---|
committer | Tasuku Suzuki <tasuku.suzuki@qt.io> | 2017-12-27 20:35:42 +0900 |
commit | 8db2eded601ad5817a42c5230b157b091e2ffe90 (patch) | |
tree | 8d8377ab43023c92eb459ac73941eb706093726b /app/main.cpp | |
parent | c5613c9a95a892935e5a1aeaef79cbf8ac18bedc (diff) |
Apply QtQuickControls2 style from platform
AGL now set its own style through an environment variable. App doesn't
need to take care of it any more.
Change-Id: Id0d43e7c05328ed5fef0e3cca7c1ddac78e69b3d
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
Diffstat (limited to 'app/main.cpp')
-rw-r--r-- | app/main.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/main.cpp b/app/main.cpp index 57c731e..574e9a5 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -20,7 +20,6 @@ #include <QtGui/QGuiApplication> #include <QtQml/QQmlApplicationEngine> #include <QtQml/QQmlContext> -#include <QtQuickControls2/QQuickStyle> #include <QQuickWindow> #include <libhomescreen.hpp> #include <qlibwindowmanager.h> @@ -34,8 +33,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")); |