Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2015-08-06 11:03:58 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:59:50 +0300
commita563ca7604016701de23847f92fc0cfc41d9d19a (patch)
treea82919935a2850d4408a8ecd7778ede0c33a531e /map/framework.cpp
parent6d911ac640c237f6c184be7c2233a067dec6ac6e (diff)
Pluging in all TTS subsystems (android and core parts).
Diffstat (limited to 'map/framework.cpp')
-rw-r--r--map/framework.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/map/framework.cpp b/map/framework.cpp
index 8d1558280b..04bdb7b0ba 100644
--- a/map/framework.cpp
+++ b/map/framework.cpp
@@ -1618,10 +1618,11 @@ void Framework::SetupMeasurementSystem()
{
Settings::Units units = Settings::Metric;
Settings::Get("Units", units);
- LOG(LDEBUG, ("Units =", units));
+ // @TODO(vbykoianko) Try to rewrite code to use only one structure fo LengthUnits
m_routingSession.SetTurnNotificationsUnits(units == Settings::Foot ?
routing::turns::sound::LengthUnits::Feet :
routing::turns::sound::LengthUnits::Meters);
+ this->EnableTurnNotifications(true);
m_informationDisplay.measurementSystemChanged();
Invalidate();