diff options
author | Ilya Grechuhin <i.grechuhin@mapswithme.com> | 2015-07-03 13:58:21 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:53:59 +0300 |
commit | 23462e039502f5168f52fd6fb7fd39355526a55a (patch) | |
tree | b2e75562480bb0697d7f39813e5cd3c0a25f8b9e /qt/preferences_dialog.cpp | |
parent | dfae79c28a0e217e308228d0c9f603751fcc18ed (diff) |
[omim] Removed yards.
Diffstat (limited to 'qt/preferences_dialog.cpp')
-rw-r--r-- | qt/preferences_dialog.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/qt/preferences_dialog.cpp b/qt/preferences_dialog.cpp index c375514c5f..622f4f377e 100644 --- a/qt/preferences_dialog.cpp +++ b/qt/preferences_dialog.cpp @@ -46,10 +46,6 @@ namespace qt pLayout->addWidget(p); m_pUnits->addButton(p, Metric); - p = new QRadioButton("Imperial (yard)"); - pLayout->addWidget(p); - m_pUnits->addButton(p, Yard); - p = new QRadioButton("Imperial (foot)"); pLayout->addWidget(p); m_pUnits->addButton(p, Foot); @@ -102,8 +98,7 @@ namespace qt switch (i) { case 0: u = Metric; break; - case 1: u = Yard; break; - case 2: u = Foot; break; + case 1: u = Foot; break; } Settings::Set("Units", u); |