diff options
author | 2019-09-22 20:32:53 -0700 | |
---|---|---|
committer | 2019-09-24 19:32:58 -0700 | |
commit | 5baf475a1acbfee437ab60cbaeaf68fefcaddd35 (patch) | |
tree | cd469983d0c23e9df5916c55d41ced632e46a0e4 /app/file_operation.cpp | |
parent | 462f009d423e6b158c6a442ffe1a66f7ed2ca847 (diff) |
Revert "qml: add OpenStreetMaps map engine option"
This reverts commit 462f009d423e6b158c6a442ffe1a66f7ed2ca847.
Bug-AGL: SPEC-2667
Change-Id: I2e962fb3b5508863d9212d49d423ad0ce7fbd332
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/file_operation.cpp')
-rw-r--r-- | app/file_operation.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/file_operation.cpp b/app/file_operation.cpp index f3814d8..09bd4d0 100644 --- a/app/file_operation.cpp +++ b/app/file_operation.cpp @@ -27,14 +27,12 @@ void File_Operation::initFileOperation(){ QJsonDocument jsonDoc(QJsonDocument::fromJson(data)); QJsonObject jsonObj(jsonDoc.object()); -#ifndef ENABLE_OSM if(jsonObj.contains("mapAccessToken")){ m_mapAccessToken = jsonObj["mapAccessToken"].toString(); }else{ fprintf(stderr,"Failed to find mapAccessToken data \"%s\": %m", qPrintable(NAVI_CONFIG_FILEPATH)); return; } -#endif if(jsonObj.contains("speed")){ m_car_speed = jsonObj["speed"].toDouble(); |