Bitcoin-Qt: emit numBlocksChanged for changed reindex or importing state

- this allows our progressbarlabel to correctly update, when we
  finish a reindex or import, but do not get new blocks from other sources
This commit is contained in:
Philip Kaufmann
2013-04-06 12:14:05 +02:00
parent ab806a69a2
commit 87dd6035e5
2 changed files with 10 additions and 2 deletions

View File

@@ -60,6 +60,8 @@ private:
int cachedNumBlocks;
int cachedNumBlocksOfPeers;
bool cachedReindexing;
bool cachedImporting;
int numBlocksAtStartup;