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