diff options
author | vng <viktor.govako@gmail.com> | 2015-03-12 17:38:55 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:38:57 +0300 |
commit | c45db7850b4ab2fc909090dd44d76b126a36a1ea (patch) | |
tree | 89be85160eefea750dae9a9c36d75a682d56bcc6 /qt/update_dialog.cpp | |
parent | 04fec9baad8ac6ab36ef27d4b32d3ffa71b62603 (diff) |
[desktop] Fixed Downloader issues.
Diffstat (limited to 'qt/update_dialog.cpp')
-rw-r--r-- | qt/update_dialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qt/update_dialog.cpp b/qt/update_dialog.cpp index 04bad01229..98e033d6fd 100644 --- a/qt/update_dialog.cpp +++ b/qt/update_dialog.cpp @@ -150,10 +150,10 @@ namespace qt QAbstractButton * res = ask.clickedButton(); if (res == btns[0]) - m_framework.DownloadCountry(countryIndex, storage::TMapOptions::EMapOnly); + m_framework.DownloadCountry(countryIndex, storage::TMapOptions::EMapWithCarRouting); if (res == btns[1]) - m_framework.DeleteCountry(countryIndex, storage::TMapOptions::EMapOnly); + m_framework.DeleteCountry(countryIndex, storage::TMapOptions::EMapWithCarRouting); } break; @@ -167,18 +167,18 @@ namespace qt ask.setDefaultButton(QMessageBox::No); if (ask.exec() == QMessageBox::Yes) - m_framework.DeleteCountry(countryIndex, storage::TMapOptions::EMapOnly); + m_framework.DeleteCountry(countryIndex, storage::TMapOptions::EMapWithCarRouting); } break; case TStatus::ENotDownloaded: case TStatus::EDownloadFailed: - m_framework.DownloadCountry(countryIndex, storage::TMapOptions::EMapOnly); + m_framework.DownloadCountry(countryIndex, storage::TMapOptions::EMapWithCarRouting); break; case TStatus::EInQueue: case TStatus::EDownloading: - m_framework.DeleteCountry(countryIndex, storage::TMapOptions::EMapOnly); + m_framework.DeleteCountry(countryIndex, storage::TMapOptions::EMapWithCarRouting); break; default: |