mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Merge #8371: [Qt] Add out-of-sync modal info layer
08827df[Qt] modalinfolayer: removed unused comments, renamed signal, code style overhaul (Jonas Schnelli)d8b062e[Qt] only update "amount of blocks left" when the header chain is in-sync (Jonas Schnelli)e3245b4[Qt] add out-of-sync modal info layer (Jonas Schnelli)e47052f[Qt] ClientModel add method to get the height of the header chain (Jonas Schnelli)a001f18[Qt] Always pass the numBlocksChanged signal for headers tip changed (Jonas Schnelli)bd44a04[Qt] make Out-Of-Sync warning icon clickable (Jonas Schnelli)0904c3c[Refactor] refactor function that forms human readable text out of a timeoffset (Jonas Schnelli)
This commit is contained in:
@@ -57,6 +57,8 @@ bool WalletFrame::addWallet(const QString& name, WalletModel *walletModel)
|
||||
// Ensure a walletView is able to show the main window
|
||||
connect(walletView, SIGNAL(showNormalIfMinimized()), gui, SLOT(showNormalIfMinimized()));
|
||||
|
||||
connect(walletView, SIGNAL(outOfSyncWarningClicked()), this, SLOT(outOfSyncWarningClicked()));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -195,3 +197,7 @@ WalletView *WalletFrame::currentWalletView()
|
||||
return qobject_cast<WalletView*>(walletStack->currentWidget());
|
||||
}
|
||||
|
||||
void WalletFrame::outOfSyncWarningClicked()
|
||||
{
|
||||
Q_EMIT requestedSyncWarningInfo();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user