# HG changeset patch # User Hasan Yavuz Ă–ZDERYA # Date 2017-04-01 08:56:32 # Node ID 598710c96de1926c2f28535da6eda3e19dab6e31 # Parent 0e27c36ff94971009547a2a7d6ea2b6f799d29fc this pice of code was disabled because we don't use auto scale for x-axis anymore 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(); }