diff options
| author | Jonas Schnelli <[email protected]> | 2016-07-19 15:27:14 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2016-08-26 09:53:09 +0200 |
| commit | bd44a04dc3fe94d2764fadd9f9a7deb81ff49f45 (patch) | |
| tree | ebfd15a3a1c3d083c1b16b147839001e66121549 /src/qt/walletframe.cpp | |
| parent | [Refactor] refactor function that forms human readable text out of a timeoffset (diff) | |
| download | discoin-bd44a04dc3fe94d2764fadd9f9a7deb81ff49f45.tar.xz discoin-bd44a04dc3fe94d2764fadd9f9a7deb81ff49f45.zip | |
[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 e4ca5e183..9d68e54e3 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 |