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/overviewpage.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/overviewpage.cpp')
| -rw-r--r-- | src/qt/overviewpage.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qt/overviewpage.cpp b/src/qt/overviewpage.cpp index 6a0404cbf..e415a6c4d 100644 --- a/src/qt/overviewpage.cpp +++ b/src/qt/overviewpage.cpp @@ -140,6 +140,8 @@ OverviewPage::OverviewPage(const PlatformStyle *platformStyle, QWidget *parent) // start with displaying the "out of sync" warnings showOutOfSyncWarning(true); + connect(ui->labelWalletStatus, SIGNAL(clicked()), this, SLOT(handleOutOfSyncWarningClicks())); + connect(ui->labelTransactionsStatus, SIGNAL(clicked()), this, SLOT(handleOutOfSyncWarningClicks())); } void OverviewPage::handleTransactionClicked(const QModelIndex &index) @@ -148,6 +150,11 @@ void OverviewPage::handleTransactionClicked(const QModelIndex &index) Q_EMIT transactionClicked(filter->mapToSource(index)); } +void OverviewPage::handleOutOfSyncWarningClicks() +{ + Q_EMIT outOfSyncWarningClicked(); +} + OverviewPage::~OverviewPage() { delete ui; |