Skip to content

Commit 793f195

Browse files
committed
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.
1 parent e033ca1 commit 793f195

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

src/qt/walletview.cpp

+1-6
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ WalletView::WalletView(const PlatformStyle *_platformStyle, QWidget *parent):
7373
// Clicking on a transaction on the overview pre-selects the transaction on the transaction history page
7474
connect(overviewPage, &OverviewPage::transactionClicked, transactionView, qOverload<const QModelIndex&>(&TransactionView::focusTransaction));
7575

76-
connect(overviewPage, &OverviewPage::outOfSyncWarningClicked, this, &WalletView::requestedSyncWarningInfo);
76+
connect(overviewPage, &OverviewPage::outOfSyncWarningClicked, this, &WalletView::outOfSyncWarningClicked);
7777

7878
connect(sendCoinsPage, &SendCoinsDialog::coinsSent, this, &WalletView::coinsSent);
7979
// Highlight transaction after send
@@ -347,8 +347,3 @@ void WalletView::showProgress(const QString &title, int nProgress)
347347
}
348348
}
349349
}
350-
351-
void WalletView::requestedSyncWarningInfo()
352-
{
353-
Q_EMIT outOfSyncWarningClicked();
354-
}

src/qt/walletview.h

-3
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,6 @@ public Q_SLOTS:
111111
/** Show progress dialog e.g. for rescan */
112112
void showProgress(const QString &title, int nProgress);
113113

114-
/** User has requested more information about the out of sync state */
115-
void requestedSyncWarningInfo();
116-
117114
Q_SIGNALS:
118115
void setPrivacy(bool privacy);
119116
void transactionClicked();

0 commit comments

Comments
 (0)