diff --git a/src/plot.cpp b/src/plot.cpp --- a/src/plot.cpp +++ b/src/plot.cpp @@ -130,7 +130,6 @@ void Plot::resetAxes() void Plot::unzoomed() { - // setAxisAutoScale(QwtPlot::xBottom); resetAxes(); onXScaleChanged(); } @@ -300,11 +299,4 @@ void Plot::onNumOfSamplesChanged(unsigne { numOfSamples = value; onXScaleChanged(); - - // TODO: what to do with this? - - // auto currentBase = zoomer.zoomBase(); - // currentBase.setWidth(value); - // zoomer.setZoomBase(currentBase); - // onXScaleChanged(); }