aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickoverlay_p_p.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2021-11-18 13:18:19 -0800
committerThiago Macieira <thiago.macieira@intel.com>2021-11-27 19:08:07 -0800
commitdd75ee4fce0e254d9db9aba93d002125355d914b (patch)
treefad2463364b508d22596dba36f0f891ef8fee146 /src/quicktemplates2/qquickoverlay_p_p.h
parent788d6151b4ae76eaf3d6cfcd71e8d4713a420d65 (diff)
Move Q_DECLARE_PUBLIC to the public section
This is now required to use QObjectPrivate::connect. Change-Id: Iccb47e5527544b6fbd75fffd16b8bd87f0818ad5 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickoverlay_p_p.h')
-rw-r--r--src/quicktemplates2/qquickoverlay_p_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quicktemplates2/qquickoverlay_p_p.h b/src/quicktemplates2/qquickoverlay_p_p.h
index fbb2f86c73..966aa08ba1 100644
--- a/src/quicktemplates2/qquickoverlay_p_p.h
+++ b/src/quicktemplates2/qquickoverlay_p_p.h
@@ -60,9 +60,9 @@ class QQuickDrawer;
class QQuickOverlayPrivate : public QQuickItemPrivate, public QQuickItemChangeListener
{
+public:
Q_DECLARE_PUBLIC(QQuickOverlay)
-public:
static QQuickOverlayPrivate *get(QQuickOverlay *overlay)
{
return overlay->d_func();