Remove errant qDebug statements

This commit is contained in:
Mark Liversedge
2013-12-22 17:47:26 +00:00
parent a4fc05f70b
commit 4db8930b4e
2 changed files with 2 additions and 10 deletions

View File

@@ -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;

View File

@@ -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"<<setupSeriesStack;
QVBoxLayout *newLayout = new QVBoxLayout;
// this is NOT a memory leak (see ZZZ below)
@@ -1823,8 +1821,6 @@ AllPlotWindow::setupSeriesStackPlots()
bool first = true;
foreach(RideFile::SeriesType x, serieslist) {
qDebug()<<"added a plot"<<x;
// create that plot
AllPlot *_allPlot = new AllPlot(this, context, x);
_allPlot->setAutoFillBackground(false);