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:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2016-02-04 17:32:15 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:21:50 +0300
commit6f8c37e958bd2ac6351088259c0c16a9a7ce0996 (patch)
tree72e0b774ea8c59146c9b6ab38d046a1e01488683 /qt
parentfd9fa541f6af1e09175da0fc8e76822e0075c9c3 (diff)
[new downloader] Getting rid of letter T in the beginging of enum classes
Diffstat (limited to 'qt')
-rw-r--r--qt/search_panel.cpp4
-rw-r--r--qt/update_dialog.cpp12
2 files changed, 8 insertions, 8 deletions
diff --git a/qt/search_panel.cpp b/qt/search_panel.cpp
index 46f4bd7adf..f06ad5fba3 100644
--- a/qt/search_panel.cpp
+++ b/qt/search_panel.cpp
@@ -219,9 +219,9 @@ bool SearchPanel::TryMigrate(QString const & str)
auto stateChanged = [&](storage::TCountryId const & id)
{
- storage::TStatus const nextStatus = m_pDrawWidget->GetFramework().Storage().m_prefetchStorage->CountryStatusEx(id);
+ storage::Status const nextStatus = m_pDrawWidget->GetFramework().Storage().m_prefetchStorage->CountryStatusEx(id);
LOG_SHORT(LINFO, (id, "status :", nextStatus));
- if (nextStatus == storage::TStatus::EOnDisk)
+ if (nextStatus == storage::Status::EOnDisk)
{
LOG_SHORT(LINFO, ("Prefetch done. Ready to migrate."));
m_pDrawWidget->GetFramework().Migrate();
diff --git a/qt/update_dialog.cpp b/qt/update_dialog.cpp
index 0685285470..abda9c805d 100644
--- a/qt/update_dialog.cpp
+++ b/qt/update_dialog.cpp
@@ -164,7 +164,7 @@ namespace qt
Storage const & st = GetStorage();
switch (m_framework.GetCountryStatus(countryId))
{
- case TStatus::ENotDownloaded:
+ case Status::ENotDownloaded:
if (st.CountriesCount(countryId) == 0)
{
size = st.CountrySizeInBytes(countryId, options);
@@ -174,30 +174,30 @@ namespace qt
rowColor = COLOR_NOTDOWNLOADED;
break;
- case TStatus::EOnDisk:
+ case Status::EOnDisk:
statusString = tr("Installed (click to delete)");
rowColor = COLOR_ONDISK;
size = st.CountrySizeInBytes(countryId, options);
break;
- case TStatus::EOnDiskOutOfDate:
+ case Status::EOnDiskOutOfDate:
statusString = tr("Out of date (click to update or delete)");
rowColor = COLOR_OUTOFDATE;
size = st.CountrySizeInBytes(countryId, options);
break;
- case TStatus::EDownloadFailed:
+ case Status::EDownloadFailed:
statusString = tr("Download has failed");
rowColor = COLOR_DOWNLOADFAILED;
size = st.CountrySizeInBytes(countryId, options);
break;
- case TStatus::EDownloading:
+ case Status::EDownloading:
statusString = tr("Downloading ...");
rowColor = COLOR_INPROGRESS;
break;
- case TStatus::EInQueue:
+ case Status::EInQueue:
statusString = tr("Marked for download");
rowColor = COLOR_INQUEUE;
size = st.CountrySizeInBytes(countryId, options);