| 86 | } |
| 87 | |
| 88 | void WalletModel::startPollBalance() |
| 89 | { |
| 90 | // This timer will be fired repeatedly to update the balance |
| 91 | // Since the QTimer::timeout is a private signal, it cannot be used |
| 92 | // in the GUIUtil::ExceptionSafeConnect directly. |
| 93 | connect(timer, &QTimer::timeout, this, &WalletModel::timerTimeout); |
| 94 | GUIUtil::ExceptionSafeConnect(this, &WalletModel::timerTimeout, this, &WalletModel::pollBalanceChanged); |
| 95 | timer->start(MODEL_UPDATE_DELAY); |
| 96 | } |
| 97 | |
| 98 | void WalletModel::setClientModel(ClientModel* client_model) |
| 99 | { |
nothing calls this directly
no test coverage detected