summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/customstyle/customstyle.h
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2016-12-08 00:23:14 +0300
committerAlexander Volkov <a.volkov@rusbitech.ru>2018-08-16 11:00:31 +0000
commit242ea38375534f529f155efa46593e2a42577455 (patch)
tree066840072a102161115a30d398cf67da7ddbee61 /src/widgets/doc/snippets/customstyle/customstyle.h
parent9b59a2ef973a067fb0c4a43396d1aca329b24f9c (diff)
doc: Add missing override and remove redundant virtual for snippets
Change-Id: I2395fd01b93c4ea364225e0cf1a5f59908b691d0 Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/customstyle/customstyle.h')
-rw-r--r--src/widgets/doc/snippets/customstyle/customstyle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/doc/snippets/customstyle/customstyle.h b/src/widgets/doc/snippets/customstyle/customstyle.h
index addb1dfb6e..be9edf0bf4 100644
--- a/src/widgets/doc/snippets/customstyle/customstyle.h
+++ b/src/widgets/doc/snippets/customstyle/customstyle.h
@@ -63,7 +63,7 @@ public:
~CustomStyle() {}
void drawPrimitive(PrimitiveElement element, const QStyleOption *option,
- QPainter *painter, const QWidget *widget) const;
+ QPainter *painter, const QWidget *widget) const override;
};
//! [0]