Skip to content

Commit 7dbc33f

Browse files
committed
Merge #17499: refactor, qt: Remove unused signal from WalletView class
5fa28e9 refactor: Remove unused signal (Hennadii Stepanov) Pull request description: `WalletView::showNormalIfMinimized()` signal was introduced in #2872 (dbc0a6a). The only signal emit command was removed in #3144 (2384a28) ACKs for top commit: promag: ACK 5fa28e9. practicalswift: ACK 5fa28e9: nice find emilengler: ACK 5fa28e9 jonasschnelli: utACK 5fa28e9 Tree-SHA512: 4714acf8c683594d3c00523c7b14bc6b94d469418f0cebe4f4b5266ca0e4c45c80d4caf358739eae9231ee4a69c9c902caeb35f3866b99443cf653f89d6d825b
2 parents b90dad5 + 5fa28e9 commit 7dbc33f

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/qt/walletframe.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ void WalletFrame::addWallet(WalletModel *walletModel)
6161
walletStack->addWidget(walletView);
6262
mapWalletViews[walletModel] = walletView;
6363

64-
// Ensure a walletView is able to show the main window
65-
connect(walletView, &WalletView::showNormalIfMinimized, [this]{
66-
gui->showNormalIfMinimized();
67-
});
68-
6964
connect(walletView, &WalletView::outOfSyncWarningClicked, this, &WalletFrame::outOfSyncWarningClicked);
7065
}
7166

src/qt/walletview.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@ public Q_SLOTS:
115115
void requestedSyncWarningInfo();
116116

117117
Q_SIGNALS:
118-
/** Signal that we want to show the main window */
119-
void showNormalIfMinimized();
120118
/** Fired when a message should be reported to the user */
121119
void message(const QString &title, const QString &message, unsigned int style);
122120
/** Encryption status of wallet changed */

0 commit comments

Comments
 (0)