[Qt] make Out-Of-Sync warning icon clickable

This commit is contained in:
Jonas Schnelli
2016-07-19 15:27:14 +02:00
committed by lateminer
parent fbf2fff41f
commit ae0210d70f
7 changed files with 34 additions and 2 deletions

View File

@@ -58,6 +58,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;
}
@@ -206,3 +208,7 @@ WalletView *WalletFrame::currentWalletView()
return qobject_cast<WalletView*>(walletStack->currentWidget());
}
void WalletFrame::outOfSyncWarningClicked()
{
Q_EMIT requestedOfSyncWarningInfo();
}