diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-06-24 16:18:22 +0100 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-08-21 09:43:54 +0100 |
commit | f78558f1e39198779bdb17e2b0e256fb99ad4b28 (patch) | |
tree | e70cf07bb8f64df2f4b65a4999b8bafa435d9d51 /src/qt/walletframe.cpp | |
parent | 8aa9badf5ea3ea98980f50d924e88e46c4d5ee38 (diff) |
qt: Use new Qt5 connect syntax
Diffstat (limited to 'src/qt/walletframe.cpp')
-rw-r--r-- | src/qt/walletframe.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qt/walletframe.cpp b/src/qt/walletframe.cpp index e8fd83d427..d15bd95b8e 100644 --- a/src/qt/walletframe.cpp +++ b/src/qt/walletframe.cpp @@ -68,9 +68,11 @@ bool WalletFrame::addWallet(WalletModel *walletModel) 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; } |