| 29 | } |
| 30 | |
| 31 | void TrafficGraphWidget::setClientModel(ClientModel *model) |
| 32 | { |
| 33 | clientModel = model; |
| 34 | if(model) { |
| 35 | nLastBytesIn = model->node().getTotalBytesRecv(); |
| 36 | nLastBytesOut = model->node().getTotalBytesSent(); |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | std::chrono::minutes TrafficGraphWidget::getGraphRange() const { return m_range; } |
| 41 |
nothing calls this directly
no test coverage detected