Skip to content

Commit

Permalink
Nits from last commit
Browse files Browse the repository at this point in the history
.. windows builds bork as bool function doesn't return anything

.. left in a couple of debug messages.
  • Loading branch information
liversedge committed Mar 19, 2020
1 parent e2e9fe6 commit 2a08c4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/Charts/GenericChart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ GenericChart::annotateLabel(QString name, QStringList list)
for(int i=0; i<newSeries.count(); i++)
if (newSeries[i].name == name)
newSeries[i].annotateLabels << list;

return true;
}

// configure axis, after curves added
Expand Down
3 changes: 0 additions & 3 deletions src/Charts/GenericPlot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,6 @@ GenericPlot::plotAreaChanged()
bool
GenericPlot::initialiseChart(QString title, int type, bool animate, int legpos)
{
fprintf(stderr, "init chart\n"); fflush(stderr);

// if we changed the type, all series must go
if (charttype != type) {
qchart->removeAllSeries();
Expand Down Expand Up @@ -734,7 +732,6 @@ GenericPlot::addCurve(QString name, QVector<double> xseries, QVector<double> yse
void
GenericPlot::finaliseChart()
{
fprintf(stderr, "finalise chart\n"); fflush(stderr);
if (!qchart) return;

// clear ALL axes
Expand Down

0 comments on commit 2a08c4c

Please sign in to comment.