From 9cba3fec25d4b9c7a3f66a20c0dc70ee6270201b Mon Sep 17 00:00:00 2001 From: jkriege2 Date: Fri, 21 Aug 2020 18:40:30 +0200 Subject: [PATCH] bugfix: removed compiler warning --- lib/jkqtcommon/jkqtpdrawingtools.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } }