| 249 | } |
| 250 | |
| 251 | void SmartContractPage::setClientModel(ClientModel* model) |
| 252 | { |
| 253 | this->clientModel = model; |
| 254 | if (model) { |
| 255 | // Show warning if this is a prerelease version |
| 256 | connect(model, SIGNAL(alertsChanged(QString)), this, SLOT(updateAlerts(QString))); |
| 257 | updateAlerts(model->getStatusBarWarnings()); |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | void SmartContractPage::setWalletModel(WalletModel* model) |
| 262 | { |
nothing calls this directly
no test coverage detected