mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Remove errant qDebug statements
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user