aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2024-10-10 00:41:17 +0900
committerNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2024-10-10 00:41:17 +0900
commite36c747c21907b154d6170132933d5ee6d0596eb (patch)
tree516073520f0b42354da2779e0fc13bd5b1d0d298
parent8c79f5fa6f8bcfabde810c9f76f3e358bb985d7a (diff)
Fix build fail that is missing to mergeHEADtrout_19.90.0trout/19.90.019.90.0master
Mominavi was ported Qt6 in previous commit. But it's missing to merge from development code to upstream code. This patch fix this merge issue. Bug-AGL: SPEC-5162 Change-Id: I0d5a969fc655c84f31bd1f1877872ad21c635b55 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
-rw-r--r--mominavi.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/mominavi.cpp b/mominavi.cpp
index 1fa4338..cc619ab 100644
--- a/mominavi.cpp
+++ b/mominavi.cpp
@@ -20,6 +20,8 @@ int main(int argc, char *argv[])
}, Qt::QueuedConnection);
engine.load(url);
+ QObject *rootObject = engine.rootObjects().constFirst();
+
QString StrEnvLat = qgetenv("MOMIMAP_INITIAL_LATITUDE");
if (StrEnvLat.size() > 0) {
rootObject->setProperty("car_position_lat", StrEnvLat);