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