diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-07-19 15:27:14 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-08-26 09:53:09 +0200 |
commit | bd44a04dc3fe94d2764fadd9f9a7deb81ff49f45 (patch) | |
tree | ebfd15a3a1c3d083c1b16b147839001e66121549 /src/qt/walletframe.cpp | |
parent | 0904c3cda4d1f40d41154bd9b2739660bdf12852 (diff) |
[Qt] make Out-Of-Sync warning icon clickable
Diffstat (limited to 'src/qt/walletframe.cpp')
-rw-r--r-- | src/qt/walletframe.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/walletframe.cpp b/src/qt/walletframe.cpp index e4ca5e1831..9d68e54e3a 100644 --- a/src/qt/walletframe.cpp +++ b/src/qt/walletframe.cpp @@ -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 requestedOfSyncWarningInfo(); +}
\ No newline at end of file |