MCPcopy Create free account
hub / github.com/LUX-Core/lux / setClientModel

Method setClientModel

src/qt/smartcontractpage.cpp:251–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251void 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
261void SmartContractPage::setWalletModel(WalletModel* model)
262{

Callers

nothing calls this directly

Calls 1

getStatusBarWarningsMethod · 0.80

Tested by

no test coverage detected