summaryrefslogtreecommitdiff
path: root/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h')
-rw-r--r--src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h b/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h
index a13fe256..2686deeb 100644
--- a/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h
+++ b/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2015 The Qt Company Ltd.
+** Copyright (C) 2022 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtLocation module of the Qt Toolkit.
@@ -152,12 +152,12 @@ private:
void updateLayout();
void emitDataChanged() { Q_EMIT dataChanged(); }
- QPlaceReply *m_response;
+ QPlaceReply *m_response = nullptr;
- QDeclarativeGeoServiceProvider *m_plugin;
- bool m_hierarchical;
- bool m_complete;
- Status m_status;
+ QDeclarativeGeoServiceProvider *m_plugin = nullptr;
+ bool m_hierarchical = true;
+ bool m_complete = false;
+ Status m_status = Null;
QString m_errorString;
QHash<QString, PlaceCategoryNode *> m_categoriesTree;