diff --git a/src/qt/walletframe.cpp b/src/qt/walletframe.cpp --- a/src/qt/walletframe.cpp +++ b/src/qt/walletframe.cpp @@ -60,11 +60,11 @@ mapWalletViews[name] = walletView; // Ensure a walletView is able to show the main window - connect(walletView, SIGNAL(showNormalIfMinimized()), gui, - SLOT(showNormalIfMinimized())); + connect(walletView, &WalletView::showNormalIfMinimized, + [this] { gui->showNormalIfMinimized(); }); - connect(walletView, SIGNAL(outOfSyncWarningClicked()), this, - SLOT(outOfSyncWarningClicked())); + connect(walletView, &WalletView::outOfSyncWarningClicked, this, + &WalletFrame::outOfSyncWarningClicked); return true; }