Disable autoscaler debugging code

This commit is contained in:
Mark Watkins 2014-05-20 22:07:32 +10:00
parent 61e9e64d05
commit 5a4c113e71

View File

@ -196,7 +196,7 @@ void gLineChart::paint(QPainter &painter, gGraph &w, const QRegion &region)
} }
w.roundY(miny, maxy); w.roundY(miny, maxy);
#define DEBUG_AUTOSCALER //#define DEBUG_AUTOSCALER
#ifdef DEBUG_AUTOSCALER #ifdef DEBUG_AUTOSCALER
QString a = QString().sprintf("%.2f - %.2f",miny, maxy); QString a = QString().sprintf("%.2f - %.2f",miny, maxy);
w.renderText(a,width/2,top-5); w.renderText(a,width/2,top-5);