aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/doc/codesnippets/doc/src/snippets/customstyle/customstyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/doc/codesnippets/doc/src/snippets/customstyle/customstyle.h')
-rw-r--r--sources/pyside2/doc/codesnippets/doc/src/snippets/customstyle/customstyle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/customstyle/customstyle.h b/sources/pyside2/doc/codesnippets/doc/src/snippets/customstyle/customstyle.h
index a89c621a1..89e324cb3 100644
--- a/sources/pyside2/doc/codesnippets/doc/src/snippets/customstyle/customstyle.h
+++ b/sources/pyside2/doc/codesnippets/doc/src/snippets/customstyle/customstyle.h
@@ -51,10 +51,10 @@
#ifndef CUSTOMSTYLE_H
#define CUSTOMSTYLE_H
-#include <QWindowsStyle>
+#include <QProxyStyle>
//! [0]
-class CustomStyle(QWindowsStyle):
+class CustomStyle(QProxyStyle):
...
def drawPrimitive(PrimitiveElement element, const QStyleOption *option,