| 161 | } |
| 162 | |
| 163 | void TrafficGraphWidget::clear() |
| 164 | { |
| 165 | timer->stop(); |
| 166 | |
| 167 | vSamplesOut.clear(); |
| 168 | vSamplesIn.clear(); |
| 169 | fMax = 0.0f; |
| 170 | |
| 171 | if(clientModel) { |
| 172 | nLastBytesIn = clientModel->node().getTotalBytesRecv(); |
| 173 | nLastBytesOut = clientModel->node().getTotalBytesSent(); |
| 174 | } |
| 175 | timer->start(); |
| 176 | } |
nothing calls this directly
no test coverage detected