diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2016-12-02 02:02:02 +0300 |
---|---|---|
committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2016-12-06 11:33:33 +0000 |
commit | 3538749faef918a52d4e186e98dd5bc8d829d287 (patch) | |
tree | 11f4fec10b9e1f2f84a86939860af40f1e9635a3 /examples/svg/richtext | |
parent | 51ef7e2e9877fbcc8ac0f7dc4d2f17b767b7e765 (diff) | |
download | qtsvg-3538749faef918a52d4e186e98dd5bc8d829d287.tar.gz |
Examples: Add missing override and remove redundant virtual
Change-Id: I3292c8e35bdedeb42d9ca3b163587ead83236bf0
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'examples/svg/richtext')
-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] |