summaryrefslogtreecommitdiffstats
path: root/app/file_operation.cpp
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-09-22 20:32:53 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-09-22 22:25:39 -0700
commit4c68d7d339a99f54e5025be1c2bbc1e915021253 (patch)
treed7a07787c3efc11802b7a2dbfb449448802d7940 /app/file_operation.cpp
parent538634c916e66e47cceaee5a98131eaadd60b269 (diff)
Revert "qml: add OpenStreetMaps map engine option"
This reverts commit 538634c916e66e47cceaee5a98131eaadd60b269. 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.cpp2
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();