diff options
| author | Hennadii Stepanov <[email protected]> | 2019-11-17 05:45:07 +0200 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2019-11-17 05:45:07 +0200 |
| commit | 5fa28e99033c79d50188ee47d9f09d6ade595d71 (patch) | |
| tree | bb585c3358931f57e6d9978ee4af6de0df086e2d | |
| parent | Merge #17486: build: make Travis catch unused variables (diff) | |
| download | discoin-5fa28e99033c79d50188ee47d9f09d6ade595d71.tar.xz discoin-5fa28e99033c79d50188ee47d9f09d6ade595d71.zip | |
refactor: Remove unused signal
| -rw-r--r-- | src/qt/walletframe.cpp | 5 | ||||
| -rw-r--r-- | src/qt/walletview.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/qt/walletframe.cpp b/src/qt/walletframe.cpp index d7f061731..4b2b47588 100644 --- a/src/qt/walletframe.cpp +++ b/src/qt/walletframe.cpp @@ -61,11 +61,6 @@ void WalletFrame::addWallet(WalletModel *walletModel) walletStack->addWidget(walletView); mapWalletViews[walletModel] = walletView; - // Ensure a walletView is able to show the main window - connect(walletView, &WalletView::showNormalIfMinimized, [this]{ - gui->showNormalIfMinimized(); - }); - connect(walletView, &WalletView::outOfSyncWarningClicked, this, &WalletFrame::outOfSyncWarningClicked); } diff --git a/src/qt/walletview.h b/src/qt/walletview.h index e29c4c52f..8d5a301cd 100644 --- a/src/qt/walletview.h +++ b/src/qt/walletview.h @@ -115,8 +115,6 @@ public Q_SLOTS: void requestedSyncWarningInfo(); Q_SIGNALS: - /** Signal that we want to show the main window */ - void showNormalIfMinimized(); /** Fired when a message should be reported to the user */ void message(const QString &title, const QString &message, unsigned int style); /** Encryption status of wallet changed */ |