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
path: root/qt
diff options
context:
space:
mode:
Diffstat (limited to 'qt')
-rw-r--r--qt/draw_widget.cpp2
-rw-r--r--qt/update_dialog.cpp12
2 files changed, 7 insertions, 7 deletions
diff --git a/qt/draw_widget.cpp b/qt/draw_widget.cpp
index 054a76193f..bb85dd4af8 100644
--- a/qt/draw_widget.cpp
+++ b/qt/draw_widget.cpp
@@ -99,7 +99,7 @@ namespace qt
if (opt == -1)
layout.RetryDownloading(idx);
else
- layout.DownloadMap(idx, static_cast<TMapOptions>(opt));
+ layout.DownloadMap(idx, static_cast<MapOptions>(opt));
});
m_framework->SetRouteBuildingListener([] (routing::IRouter::ResultCode, vector<storage::TIndex> const &, vector<storage::TIndex> const &)
diff --git a/qt/update_dialog.cpp b/qt/update_dialog.cpp
index 3131e2a9ee..f8bac35320 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, TMapOptions::MapWithCarRouting);
+ m_framework.DownloadCountry(countryIndex, MapOptions::MapWithCarRouting);
if (res == btns[1])
- m_framework.DeleteCountry(countryIndex, TMapOptions::MapWithCarRouting);
+ m_framework.DeleteCountry(countryIndex, MapOptions::MapWithCarRouting);
}
break;
@@ -167,18 +167,18 @@ namespace qt
ask.setDefaultButton(QMessageBox::No);
if (ask.exec() == QMessageBox::Yes)
- m_framework.DeleteCountry(countryIndex, TMapOptions::MapWithCarRouting);
+ m_framework.DeleteCountry(countryIndex, MapOptions::MapWithCarRouting);
}
break;
case TStatus::ENotDownloaded:
case TStatus::EDownloadFailed:
- m_framework.DownloadCountry(countryIndex, TMapOptions::MapWithCarRouting);
+ m_framework.DownloadCountry(countryIndex, MapOptions::MapWithCarRouting);
break;
case TStatus::EInQueue:
case TStatus::EDownloading:
- m_framework.DeleteCountry(countryIndex, TMapOptions::MapWithCarRouting);
+ m_framework.DeleteCountry(countryIndex, MapOptions::MapWithCarRouting);
break;
default:
@@ -247,7 +247,7 @@ namespace qt
QString statusString;
LocalAndRemoteSizeT size(0, 0);
- TMapOptions const options = TMapOptions::MapWithCarRouting;
+ MapOptions const options = MapOptions::MapWithCarRouting;
Storage const & st = GetStorage();
switch (m_framework.GetCountryStatus(index))