mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-05-17 23:56:39 +00:00
qt: Drop redundant WalletView::requestedSyncWarningInfo slot
This change makes a connection directly to the signal that was emitted in the removed slot. This commit does not change behavior.
This commit is contained in:
parent
e033ca1379
commit
793f19599b
@ -73,7 +73,7 @@ WalletView::WalletView(const PlatformStyle *_platformStyle, QWidget *parent):
|
||||
// Clicking on a transaction on the overview pre-selects the transaction on the transaction history page
|
||||
connect(overviewPage, &OverviewPage::transactionClicked, transactionView, qOverload<const QModelIndex&>(&TransactionView::focusTransaction));
|
||||
|
||||
connect(overviewPage, &OverviewPage::outOfSyncWarningClicked, this, &WalletView::requestedSyncWarningInfo);
|
||||
connect(overviewPage, &OverviewPage::outOfSyncWarningClicked, this, &WalletView::outOfSyncWarningClicked);
|
||||
|
||||
connect(sendCoinsPage, &SendCoinsDialog::coinsSent, this, &WalletView::coinsSent);
|
||||
// Highlight transaction after send
|
||||
@ -347,8 +347,3 @@ void WalletView::showProgress(const QString &title, int nProgress)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void WalletView::requestedSyncWarningInfo()
|
||||
{
|
||||
Q_EMIT outOfSyncWarningClicked();
|
||||
}
|
||||
|
@ -111,9 +111,6 @@ public Q_SLOTS:
|
||||
/** Show progress dialog e.g. for rescan */
|
||||
void showProgress(const QString &title, int nProgress);
|
||||
|
||||
/** User has requested more information about the out of sync state */
|
||||
void requestedSyncWarningInfo();
|
||||
|
||||
Q_SIGNALS:
|
||||
void setPrivacy(bool privacy);
|
||||
void transactionClicked();
|
||||
|
Loading…
x
Reference in New Issue
Block a user