summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/customstyle/customstyle.h
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2021-02-09 13:15:58 +0100
committerVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2021-02-10 21:19:15 +0100
commit746393545f6e68292b780ea62ea2f6bef81c708c (patch)
treec4df170c7024e917198f560a27682be32daa4300 /src/widgets/doc/snippets/customstyle/customstyle.h
parent1549dff04c49aa37333e54f8bc45900d0f35b270 (diff)
CMake: Port the snippet project setup to CMake
Change-Id: I411e58e94752f3b2d0a3e8aac0ab7c4c2272db89 Fixes: QTBUG-89826 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@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 be9edf0bf46..3cadd84650c 100644
--- a/src/widgets/doc/snippets/customstyle/customstyle.h
+++ b/src/widgets/doc/snippets/customstyle/customstyle.h
@@ -59,7 +59,7 @@ class CustomStyle : public QProxyStyle
Q_OBJECT
public:
- CustomStyle();
+ CustomStyle(const QWidget *widget);
~CustomStyle() {}
void drawPrimitive(PrimitiveElement element, const QStyleOption *option,