aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoingui.h
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/bitcoingui.h
parent2f0fa79db290d5139c27409055b2035099afa6fd (diff)
downloadbitcoin-24cde0b7d1ad014ffca5d0af896bc50b30e5ddcd.tar.xz
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/bitcoingui.h')
-rw-r--r--src/qt/bitcoingui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/bitcoingui.h b/src/qt/bitcoingui.h
index b7afdb1c8c..0726db7f9c 100644
--- a/src/qt/bitcoingui.h
+++ b/src/qt/bitcoingui.h
@@ -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();