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
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2011-05-03 02:10:37 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:16:54 +0300
commite884cc5403ff26c1830c92905874c2fe539b13bb (patch)
treec552b9673d8967920b4d8dad4c5d6b7c97f1b8c2 /qt/update_dialog.cpp
parent702903ecd019dc7a6830f091b6fe483425fe108b (diff)
Refactored Downloader, added HTTP POST support
Diffstat (limited to 'qt/update_dialog.cpp')
-rw-r--r--qt/update_dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt/update_dialog.cpp b/qt/update_dialog.cpp
index 529c8747c1..53d987e70a 100644
--- a/qt/update_dialog.cpp
+++ b/qt/update_dialog.cpp
@@ -375,11 +375,11 @@ namespace qt
}
void UpdateDialog::OnCountryDownloadProgress(TIndex const & index,
- TDownloadProgress const & progress)
+ HttpProgressT const & progress)
{
QTreeWidgetItem * item = GetTreeItemByIndex(*m_tree, index);
if (item)
- item->setText(KColumnIndexSize, QString("%1%").arg(progress.first * 100 / progress.second));
+ item->setText(KColumnIndexSize, QString("%1%").arg(progress.m_current * 100 / progress.m_total));
}
void UpdateDialog::ShowDialog()