diff options
author | Scott Murray <scott.murray@konsulko.com> | 2022-06-07 15:39:51 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2022-06-07 15:50:29 -0400 |
commit | b53c55799ff50fb51bec1bf75bac477fa4165336 (patch) | |
tree | 4200790f43db597c73de3acda9c71b76938a67e2 /app/qml/InfoWindow.qml | |
parent | 70dfe121582cda2c82c794e5af6550b5c1a237c4 (diff) |
Updates to restore to a functional state
Changes:
- Add setenv of QT_QUICK_CONTROLS_STYLE and setting of the
frameless window hint to match the previous behavior before the
removal of the previous application framework.
- Use the new VehicleSignals API from libqtappfw to replace the
previous signal-composer usage.
- Update the use of the Navigation API from libqtappfw for its
rework to use VIS signals instead of the previous signal-composer
usage.
- The default unit for the vehicle speed has been switched to
kilometers with switching driven by the appropriate VSS schema
value.
Bug-AGL: SPEC-4409, SPEC-4426
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I69b60a1e3207a54c34aaf114a1e89fce2cf0059f
Diffstat (limited to 'app/qml/InfoWindow.qml')
-rw-r--r-- | app/qml/InfoWindow.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/qml/InfoWindow.qml b/app/qml/InfoWindow.qml index 4acba5d..7183040 100644 --- a/app/qml/InfoWindow.qml +++ b/app/qml/InfoWindow.qml @@ -53,7 +53,7 @@ Rectangle { Layout.fillWidth: true Layout.alignment: Qt.AlignHCenter - text: "MPH" + text: tbtnavi.mphDisplay ? "MPH" : "KPH" color: "white" font.pixelSize: 32 font.bold: true |