@@ -211,11 +211,6 @@ BitcoinGUI::BitcoinGUI(interfaces::Node& node, const PlatformStyle *_platformSty
211211
212212 connect (labelBlocksIcon, &GUIUtil::ClickableLabel::clicked, this , &BitcoinGUI::showModalOverlay);
213213 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
219214
220215#ifdef Q_OS_MAC
221216 m_app_nap_inhibitor = new CAppNapInhibitor;
@@ -690,7 +685,7 @@ void BitcoinGUI::addWallet(WalletModel* walletModel)
690685 const QString display_name = walletModel->getDisplayName ();
691686 m_wallet_selector->addItem (display_name, QVariant::fromValue (walletModel));
692687
693- connect (wallet_view, &WalletView::outOfSyncWarningClicked, walletFrame , &WalletFrame::outOfSyncWarningClicked );
688+ connect (wallet_view, &WalletView::outOfSyncWarningClicked, this , &BitcoinGUI::showModalOverlay );
694689 connect (wallet_view, &WalletView::transactionClicked, this , &BitcoinGUI::gotoHistoryPage);
695690 connect (wallet_view, &WalletView::coinsSent, this , &BitcoinGUI::gotoHistoryPage);
696691 connect (wallet_view, &WalletView::message, [this ](const QString& title, const QString& message, unsigned int style) {
0 commit comments