small update for BitcoinGUI::setNumBlocks() function

- re-work code parts that check if we have a Statusbar warning
- use same variable names in the header
This commit is contained in:
Philip Kaufmann
2012-07-13 09:01:27 +02:00
parent ce652affe0
commit ce2f66d9bf
2 changed files with 15 additions and 16 deletions

View File

@@ -112,7 +112,7 @@ public slots:
/** Set number of connections shown in the UI */
void setNumConnections(int count);
/** Set number of blocks shown in the UI */
void setNumBlocks(int count, int countOfPeers);
void setNumBlocks(int count, int nTotalBlocks);
/** Set the encryption status as shown in the UI.
@param[in] status current encryption status
@see WalletModel::EncryptionStatus