diff --git a/src/AllPlot.cpp b/src/AllPlot.cpp index 519379489..1d698fe6b 100644 --- a/src/AllPlot.cpp +++ b/src/AllPlot.cpp @@ -1684,7 +1684,6 @@ AllPlot::setDataFromPlot(AllPlot *plot, int startidx, int stopidx) void AllPlot::setDataFromPlot(AllPlot *plot, bool first) { -qDebug()<<"set data from plot"; if (plot == NULL) { rideItem = NULL; return; @@ -1692,7 +1691,6 @@ qDebug()<<"set data from plot"; referencePlot = plot; -qDebug()<<"check it has data"; // You got to give me some data first! //if (!plot->distanceArray.count() || !plot->timeArray.count()) return; @@ -1700,7 +1698,6 @@ qDebug()<<"check it has data"; rideItem = plot->rideItem; bydist = plot->bydist; -qDebug()<<"set invisible"; // remove all curves from the plot wCurve->detach(); mCurve->detach(); @@ -1766,7 +1763,6 @@ qDebug()<<"set invisible"; } #endif -qDebug()<<"clone curves.."; QwtPlotCurve *ourCurve = NULL, *thereCurve = NULL; QString title; diff --git a/src/AllPlotWindow.cpp b/src/AllPlotWindow.cpp index a8d09fb9d..4083ee629 100644 --- a/src/AllPlotWindow.cpp +++ b/src/AllPlotWindow.cpp @@ -1611,7 +1611,7 @@ void AllPlotWindow::resetSeriesStackedDatas() { if (!current) return; -qDebug()<<"reset series stacked datas!"; + // just reset from AllPlot bool first = true; foreach(AllPlot *p, seriesPlots) { @@ -1758,7 +1758,7 @@ AllPlotWindow::showStackChanged(int value) // refresh plots resetSeriesStackedDatas(); -qDebug()<<"replotting!"; + // now they are all set, lets replot them foreach(AllPlot *plot, seriesPlots) plot->replot(); @@ -1790,8 +1790,6 @@ AllPlotWindow::setupSeriesStackPlots() { if (!showStack->isChecked() || !showBySeries->isChecked() || setupSeriesStack) return; - qDebug()<<"setup series stack plots just 5 for now"<setAutoFillBackground(false);