summaryrefslogtreecommitdiff
path: root/src/location/declarativeplaces/qdeclarativesearchmodelbase_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/declarativeplaces/qdeclarativesearchmodelbase_p.h')
-rw-r--r--src/location/declarativeplaces/qdeclarativesearchmodelbase_p.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/location/declarativeplaces/qdeclarativesearchmodelbase_p.h b/src/location/declarativeplaces/qdeclarativesearchmodelbase_p.h
index 692078b8..c46639ae 100644
--- a/src/location/declarativeplaces/qdeclarativesearchmodelbase_p.h
+++ b/src/location/declarativeplaces/qdeclarativesearchmodelbase_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.
@@ -147,12 +147,12 @@ protected:
void setNextPageRequest(const QPlaceSearchRequest &next);
QPlaceSearchRequest m_request;
- QDeclarativeGeoServiceProvider *m_plugin;
- QPlaceReply *m_reply;
+ QDeclarativeGeoServiceProvider *m_plugin = nullptr;
+ QPlaceReply *m_reply = nullptr;
private:
- bool m_complete;
- Status m_status;
+ bool m_complete = false;
+ Status m_status = Null;
QString m_errorString;
QPlaceSearchRequest m_previousPageRequest;
QPlaceSearchRequest m_nextPageRequest;