From 3e158affc03116a9bb531ed1eb9c510719a392dc Mon Sep 17 00:00:00 2001 From: Olga Khlopkova Date: Tue, 10 Nov 2020 13:50:31 +0300 Subject: [PATCH] [qt] Fix for RoutingSettings::TurnsEnabled(). --- qt/routing_settings_dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/routing_settings_dialog.cpp b/qt/routing_settings_dialog.cpp index 90265b6f7a..f510e987aa 100644 --- a/qt/routing_settings_dialog.cpp +++ b/qt/routing_settings_dialog.cpp @@ -33,7 +33,7 @@ bool RoutingSettings::TurnsEnabled() { bool enabled = false; if (settings::Get(kShowTurnsSettings, enabled)) - return enable; + return enabled; return false; }