diff options
Diffstat (limited to 'mominavi.cpp')
-rw-r--r-- | mominavi.cpp | 2 |
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); |