aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-02-10 19:01:30 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2013-02-16 14:51:00 +0100
commit24cde0b7d1ad014ffca5d0af896bc50b30e5ddcd (patch)
tree869f48e15a2910748bb4604682e05b6e73ea866c /src/qt/clientmodel.cpp
parent2f0fa79db290d5139c27409055b2035099afa6fd (diff)
Change progress bar from block-based to time-based
This is less confusing to most people, and doesn't rely on estimates of the total number of blocks received from other nodes.
Diffstat (limited to 'src/qt/clientmodel.cpp')
-rw-r--r--src/qt/clientmodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp
index 084ad12a56..5f3368c30a 100644
--- a/src/qt/clientmodel.cpp
+++ b/src/qt/clientmodel.cpp
@@ -54,6 +54,7 @@ QDateTime ClientModel::getLastBlockDate() const
return QDateTime::fromTime_t(1231006505); // Genesis block's time
}
+
void ClientModel::updateTimer()
{
// Some quantities (such as number of blocks) change so fast that we don't want to be notified for each change.