diff options
| author | João Barbosa <[email protected]> | 2018-06-24 16:18:22 +0100 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2018-08-21 09:43:54 +0100 |
| commit | f78558f1e39198779bdb17e2b0e256fb99ad4b28 (patch) | |
| tree | e70cf07bb8f64df2f4b65a4999b8bafa435d9d51 /src/qt/walletmodel.cpp | |
| parent | Merge #13968: [wallet] couple of walletcreatefundedpsbt fixes (diff) | |
| download | discoin-f78558f1e39198779bdb17e2b0e256fb99ad4b28.tar.xz discoin-f78558f1e39198779bdb17e2b0e256fb99ad4b28.zip | |
qt: Use new Qt5 connect syntax
Diffstat (limited to 'src/qt/walletmodel.cpp')
| -rw-r--r-- | src/qt/walletmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index d91cdcdc1..18a5bda9c 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -44,7 +44,7 @@ WalletModel::WalletModel(std::unique_ptr<interfaces::Wallet> wallet, interfaces: // This timer will be fired repeatedly to update the balance pollTimer = new QTimer(this); - connect(pollTimer, SIGNAL(timeout()), this, SLOT(pollBalanceChanged())); + connect(pollTimer, &QTimer::timeout, this, &WalletModel::pollBalanceChanged); pollTimer->start(MODEL_UPDATE_DELAY); subscribeToCoreSignals(); |