aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickstackelement_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quicktemplates2/qquickstackelement_p_p.h')
-rw-r--r--src/quicktemplates2/qquickstackelement_p_p.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/quicktemplates2/qquickstackelement_p_p.h b/src/quicktemplates2/qquickstackelement_p_p.h
index 2308f47d..65e73244 100644
--- a/src/quicktemplates2/qquickstackelement_p_p.h
+++ b/src/quicktemplates2/qquickstackelement_p_p.h
@@ -85,18 +85,18 @@ public:
void itemDestroyed(QQuickItem *item) override;
- int index;
- bool init;
- bool removal;
- bool ownItem;
- bool ownComponent;
- bool widthValid;
- bool heightValid;
- QQmlContext *context;
- QQmlComponent *component;
- QQuickStackView *view;
+ int index = -1;
+ bool init = false;
+ bool removal = false;
+ bool ownItem = false;
+ bool ownComponent = false;
+ bool widthValid = false;
+ bool heightValid = false;
+ QQmlContext *context = nullptr;
+ QQmlComponent *component = nullptr;
+ QQuickStackView *view = nullptr;
QPointer<QQuickItem> originalParent;
- QQuickStackView::Status status;
+ QQuickStackView::Status status = QQuickStackView::Inactive;
QV4::PersistentValue properties;
QV4::PersistentValue qmlCallingContext;
};