@@ -211,11 +211,6 @@ BitcoinGUI::BitcoinGUI(interfaces::Node& node, const PlatformStyle *_platformSty
211
211
212
212
connect (labelBlocksIcon, &GUIUtil::ClickableLabel::clicked, this , &BitcoinGUI::showModalOverlay);
213
213
connect (progressBar, &GUIUtil::ClickableProgressBar::clicked, this , &BitcoinGUI::showModalOverlay);
214
- #ifdef ENABLE_WALLET
215
- if (enableWallet) {
216
- connect (walletFrame, &WalletFrame::requestedSyncWarningInfo, this , &BitcoinGUI::showModalOverlay);
217
- }
218
- #endif
219
214
220
215
#ifdef Q_OS_MAC
221
216
m_app_nap_inhibitor = new CAppNapInhibitor;
@@ -690,7 +685,7 @@ void BitcoinGUI::addWallet(WalletModel* walletModel)
690
685
const QString display_name = walletModel->getDisplayName ();
691
686
m_wallet_selector->addItem (display_name, QVariant::fromValue (walletModel));
692
687
693
- connect (wallet_view, &WalletView::outOfSyncWarningClicked, walletFrame , &WalletFrame::outOfSyncWarningClicked );
688
+ connect (wallet_view, &WalletView::outOfSyncWarningClicked, this , &BitcoinGUI::showModalOverlay );
694
689
connect (wallet_view, &WalletView::transactionClicked, this , &BitcoinGUI::gotoHistoryPage);
695
690
connect (wallet_view, &WalletView::coinsSent, this , &BitcoinGUI::gotoHistoryPage);
696
691
connect (wallet_view, &WalletView::message, [this ](const QString& title, const QString& message, unsigned int style) {
0 commit comments