@@ -204,11 +204,6 @@ BitcoinGUI::BitcoinGUI(interfaces::Node& node, const PlatformStyle *_platformSty
204
204
modalOverlay = new ModalOverlay (enableWallet, this ->centralWidget ());
205
205
connect (labelBlocksIcon, &GUIUtil::ClickableLabel::clicked, this , &BitcoinGUI::showModalOverlay);
206
206
connect (progressBar, &GUIUtil::ClickableProgressBar::clicked, this , &BitcoinGUI::showModalOverlay);
207
- #ifdef ENABLE_WALLET
208
- if (enableWallet) {
209
- connect (walletFrame, &WalletFrame::requestedSyncWarningInfo, this , &BitcoinGUI::showModalOverlay);
210
- }
211
- #endif
212
207
213
208
#ifdef Q_OS_MAC
214
209
m_app_nap_inhibitor = new CAppNapInhibitor;
@@ -673,7 +668,7 @@ void BitcoinGUI::addWallet(WalletModel* walletModel)
673
668
m_wallet_selector_action->setVisible (true );
674
669
}
675
670
676
- connect (walletView, &WalletView::outOfSyncWarningClicked, walletFrame , &WalletFrame::outOfSyncWarningClicked );
671
+ connect (walletView, &WalletView::outOfSyncWarningClicked, this , &BitcoinGUI::showModalOverlay );
677
672
connect (walletView, &WalletView::transactionClicked, this , &BitcoinGUI::gotoHistoryPage);
678
673
connect (walletView, &WalletView::coinsSent, this , &BitcoinGUI::gotoHistoryPage);
679
674
connect (walletView, &WalletView::message, [this ](const QString& title, const QString& message, unsigned int style) {
0 commit comments