From 9eccf7098b68218388c1556b39a583ad1c8fc513 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Sat, 25 Dec 2021 15:15:30 +0200 Subject: [PATCH] oops, mark QFontEngine::addOutlineToPath() as virtual Signed-off-by: Ivailo Monev --- src/gui/text/qfontengine_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/text/qfontengine_p.h b/src/gui/text/qfontengine_p.h index c1e567e61..17782a5bd 100644 --- a/src/gui/text/qfontengine_p.h +++ b/src/gui/text/qfontengine_p.h @@ -120,7 +120,7 @@ public: void getGlyphPositions(const QGlyphLayout &glyphs, const QTransform &matrix, QTextItem::RenderFlags flags, QVarLengthArray &glyphs_out, QVarLengthArray &positions); - void addOutlineToPath(qreal, qreal, const QGlyphLayout &, QPainterPath *, QTextItem::RenderFlags flags); + virtual void addOutlineToPath(qreal, qreal, const QGlyphLayout &, QPainterPath *, QTextItem::RenderFlags flags); /** * Create a qimage for the glyph.