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.
This commit is contained in:
Wladimir J. van der Laan
2013-02-10 19:01:30 +01:00
committed by Pieter Wuille
parent 2f0fa79db2
commit 24cde0b7d1
4 changed files with 42 additions and 47 deletions

View File

@@ -98,6 +98,8 @@ private:
RPCConsole *rpcConsole;
QMovie *syncIconMovie;
/** Keep track of previous number of blocks, to detect progress */
int prevBlocks;
/** Create the main UI actions. */
void createActions();