summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/customstyle/customstyle.h
diff options
context:
space:
mode:
authorOleksii Zbykovskyi <Oleksii.Zbykovskyi@qt.io>2025-08-05 15:08:38 +0200
committerOleksii Zbykovskyi <Oleksii.Zbykovskyi@qt.io>2025-08-06 20:26:58 +0200
commit6fbd403fe7597f457e669bbb6551509c2097fc2d (patch)
tree3b1f8dc37b77e3abfede3027cd892c6be5ab4bd9 /src/widgets/doc/snippets/customstyle/customstyle.h
parentb63fb9c664c120ad9b29a151f83002d5f046d3fe (diff)
Relocate files from separate CMake files to the main one
Removed useless CMakefiles and move their contents to the main CMakeLists file. Task-number: QTBUG-137566 Change-Id: Ibeb162ce43243d9af7732f39935325cbb52ecdec Reviewed-by: Volker Hilsheimer <volker.hilsheimer@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 370065c2b33..ac1c961d73d 100644
--- a/src/widgets/doc/snippets/customstyle/customstyle.h
+++ b/src/widgets/doc/snippets/customstyle/customstyle.h
@@ -12,7 +12,7 @@ class CustomStyle : public QProxyStyle
Q_OBJECT
public:
- CustomStyle(const QWidget *widget);
+ explicit CustomStyle(const QWidget *widget = nullptr);
~CustomStyle() {}
void drawPrimitive(PrimitiveElement element, const QStyleOption *option,