MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / setGraphRangeMins

Method setGraphRangeMins

src/qt/trafficgraphwidget.cpp:154–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void TrafficGraphWidget::setGraphRangeMins(int mins)
155{
156 nMins = mins;
157 int msecsPerSample = nMins * 60 * 1000 / DESIRED_SAMPLES;
158 timer->stop();
159 timer->setInterval(msecsPerSample);
160
161 clear();
162}
163
164void TrafficGraphWidget::clear()
165{

Callers 1

setTrafficGraphRangeMethod · 0.80

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected