mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-24 17:41:39 +08:00
bugfixed Qt5.x problem
This commit is contained in:
parent
5dee5ae93d
commit
24cb74fc06
@ -362,8 +362,7 @@ double JKQTMathTextBoxInstructionNode::draw(QPainter& painter, double x, double
|
||||
getChild()->getSize(painter, ev, width, baselineHeight, overallHeight, strikeoutPos);
|
||||
|
||||
{
|
||||
painter.save();
|
||||
JKQTPFinalAct __finalpaint([&painter]() { painter.restore(); });
|
||||
painter.save(); auto __finalpaint=JKQTPFinally([&painter]() {painter.restore();});
|
||||
painter.setBrush(b);
|
||||
painter.setPen(p);
|
||||
const QRectF rect(x+lw/2.0, y-baselineHeight-padding-lw/2.0, width+2.0*padding, overallHeight+2.0*padding);
|
||||
|
Loading…
Reference in New Issue
Block a user