<div>I'm attempting to use flot, a jquery/javascript plotting library to draw plots in a QWebView.  Everything goes well except that I need to resize the plot as the window resizes.  I'm doing this in Javascript, of course.  Once the resize occurs and my redraw callback fires, I get a warning over and over:</div>
<div><br></div>QPainter::end: Painter ended with 2 saved states<div><br></div><div>A short program program to reproduce the issue is here: <a href="http://pastebin.com/tA4xSMLC">http://pastebin.com/tA4xSMLC</a></div><div>
<br></div><div>When I comment out the redrawing javascript code, which is using the canvas tag, the warnings disappear.  I suspect it's something with the canvas element.</div><div><br></div><div>Is that warning something to be concerned about?</div>
<div><br></div><div>BZ</div><div><br></div><div><br></div>