aboutsummaryrefslogtreecommitdiffstats
path: root/app/qml/InfoWindow.qml
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-06-07 15:39:51 -0400
committerScott Murray <scott.murray@konsulko.com>2022-06-08 12:21:48 +0000
commitd63cd17b21e201dc1a94242f16b957aa9b6d232b (patch)
tree3423b58046fd633d27b9a6ad094ca750ba88ed48 /app/qml/InfoWindow.qml
parentf91fb7dc3cbc37dc408e18263e59ec0fcd4d5cae (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.qml2
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