I'm using Version: 2.0.1 QCustomPlot for plotting data read from files and data arriving from a remote system by net. When mLineStyle == lsImpulse performance get dramatically lower and application result unusable.
I've found out in drawImpulsePlot it is used the function

while replacing it with
drawPolyline(painter, lines)
it works good and performance issues disappear.
I don't like to use a modified version of a library so I was wondering if it changed in the later versions and why it was invoked drawLines instead of drawPolyline.

Thank you