summaryrefslogtreecommitdiff
path: root/src/widgets/doc/snippets/customstyle/customstyle.cpp
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.cpp
parent1549dff04c49aa37333e54f8bc45900d0f35b270 (diff)
downloadqtbase-746393545f6e68292b780ea62ea2f6bef81c708c.tar.gz
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.cpp')
-rw-r--r--src/widgets/doc/snippets/customstyle/customstyle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/doc/snippets/customstyle/customstyle.cpp b/src/widgets/doc/snippets/customstyle/customstyle.cpp
index 61a8ec5600..0f1d5f4b9b 100644
--- a/src/widgets/doc/snippets/customstyle/customstyle.cpp
+++ b/src/widgets/doc/snippets/customstyle/customstyle.cpp
@@ -52,7 +52,7 @@
#include "customstyle.h"
-CustomStyle::CustomStyle()
+CustomStyle::CustomStyle(const QWidget *widget)
{
//! [0]
const QSpinBox *spinBox = qobject_cast<const QSpinBox *>(widget);