aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickoverlay_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quicktemplates2/qquickoverlay_p_p.h')
-rw-r--r--src/quicktemplates2/qquickoverlay_p_p.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/quicktemplates2/qquickoverlay_p_p.h b/src/quicktemplates2/qquickoverlay_p_p.h
index a290ecc2..b445f87a 100644
--- a/src/quicktemplates2/qquickoverlay_p_p.h
+++ b/src/quicktemplates2/qquickoverlay_p_p.h
@@ -63,8 +63,6 @@ class QQuickOverlayPrivate : public QQuickItemPrivate, public QQuickItemChangeLi
Q_DECLARE_PUBLIC(QQuickOverlay)
public:
- QQuickOverlayPrivate();
-
static QQuickOverlayPrivate *get(QQuickOverlay *overlay)
{
return overlay->d_func();
@@ -91,8 +89,8 @@ public:
void updateGeometry();
- QQmlComponent *modal;
- QQmlComponent *modeless;
+ QQmlComponent *modal = nullptr;
+ QQmlComponent *modeless = nullptr;
QVector<QQuickPopup *> allPopups;
QVector<QQuickDrawer *> allDrawers;
QPointer<QQuickPopup> mouseGrabberPopup;