diff options
Diffstat (limited to 'examples/svg/richtext/textobject/svgtextobject.h')
-rw-r--r-- | examples/svg/richtext/textobject/svgtextobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/svg/richtext/textobject/svgtextobject.h b/examples/svg/richtext/textobject/svgtextobject.h index 47fefc9..a788ee5 100644 --- a/examples/svg/richtext/textobject/svgtextobject.h +++ b/examples/svg/richtext/textobject/svgtextobject.h @@ -60,9 +60,9 @@ class SvgTextObject : public QObject, public QTextObjectInterface public: QSizeF intrinsicSize(QTextDocument *doc, int posInDocument, - const QTextFormat &format); + const QTextFormat &format) override; void drawObject(QPainter *painter, const QRectF &rect, QTextDocument *doc, - int posInDocument, const QTextFormat &format); + int posInDocument, const QTextFormat &format) override; }; //![0] |