aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoingui.cpp
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-09-21 10:29:57 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2016-09-23 16:07:21 +0200
commit08827df3ecce925928dc3bedcdef63bfca290300 (patch)
tree29d9b9a06371b8f4d6b66036d9f98f3def55b7ae /src/qt/bitcoingui.cpp
parentd8b062ef5eea3addff00a09bad1dab162452b4b5 (diff)
downloadbitcoin-08827df3ecce925928dc3bedcdef63bfca290300.tar.xz
[Qt] modalinfolayer: removed unused comments, renamed signal, code style overhaul
Diffstat (limited to 'src/qt/bitcoingui.cpp')
-rw-r--r--src/qt/bitcoingui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index c184745dbe..2a9afc51a0 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -247,7 +247,7 @@ BitcoinGUI::BitcoinGUI(const PlatformStyle *platformStyle, const NetworkStyle *n
modalOverlay = new ModalOverlay(this->centralWidget());
#ifdef ENABLE_WALLET
if(enableWallet)
- connect(walletFrame, SIGNAL(requestedOfSyncWarningInfo()), this, SLOT(showModalOverlay()));
+ connect(walletFrame, SIGNAL(requestedSyncWarningInfo()), this, SLOT(showModalOverlay()));
#endif
}
@@ -717,13 +717,13 @@ void BitcoinGUI::setNumBlocks(int count, const QDateTime& blockDate, double nVer
{
if (modalOverlay)
{
- if (header)
- {
+ if (header) {
/* use clientmodels getHeaderTipHeight and getHeaderTipTime because the NotifyHeaderTip signal does not fire when updating the best header */
modalOverlay->setKnownBestHeight(clientModel->getHeaderTipHeight(), QDateTime::fromTime_t(clientModel->getHeaderTipTime()));
}
- else
+ else {
modalOverlay->tipUpdate(count, blockDate, nVerificationProgress);
+ }
}
if (!clientModel)
return;