diff --git a/lib/jkqtcommon/jkqtpdrawingtools.h b/lib/jkqtcommon/jkqtpdrawingtools.h index 01b0f16d5a..5b264b8794 100644 --- a/lib/jkqtcommon/jkqtpdrawingtools.h +++ b/lib/jkqtcommon/jkqtpdrawingtools.h @@ -1047,7 +1047,9 @@ inline void JKQTPPlotLineDecorator(TPainter& painter, double x, double y, double painter.setPen(pinit); painter.drawPolyline(poly, 4); } break; - case JKQTPNoDecorator: break; + case JKQTPLineDecoratorCount: + case JKQTPNoDecorator: + break; } }