@@ -212,11 +212,6 @@ SyscoinGUI::SyscoinGUI(interfaces::Node& node, const PlatformStyle *_platformSty
212
212
213
213
connect (labelBlocksIcon, &GUIUtil::ClickableLabel::clicked, this , &SyscoinGUI::showModalOverlay);
214
214
connect (progressBar, &GUIUtil::ClickableProgressBar::clicked, this , &SyscoinGUI::showModalOverlay);
215
- #ifdef ENABLE_WALLET
216
- if (enableWallet) {
217
- connect (walletFrame, &WalletFrame::requestedSyncWarningInfo, this , &SyscoinGUI::showModalOverlay);
218
- }
219
- #endif
220
215
221
216
#ifdef Q_OS_MAC
222
217
m_app_nap_inhibitor = new CAppNapInhibitor;
@@ -730,7 +725,7 @@ void SyscoinGUI::addWallet(WalletModel* walletModel)
730
725
const QString display_name = walletModel->getDisplayName ();
731
726
m_wallet_selector->addItem (display_name, QVariant::fromValue (walletModel));
732
727
733
- connect (wallet_view, &WalletView::outOfSyncWarningClicked, walletFrame , &WalletFrame::outOfSyncWarningClicked );
728
+ connect (wallet_view, &WalletView::outOfSyncWarningClicked, this , &SyscoinGUI::showModalOverlay );
734
729
connect (wallet_view, &WalletView::transactionClicked, this , &SyscoinGUI::gotoHistoryPage);
735
730
connect (wallet_view, &WalletView::coinsSent, this , &SyscoinGUI::gotoHistoryPage);
736
731
connect (wallet_view, &WalletView::message, [this ](const QString& title, const QString& message, unsigned int style) {
0 commit comments