summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/customstyle/customstyle.h
diff options
context:
space:
mode:
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]