summaryrefslogtreecommitdiff
path: root/src/location/places/qplacesearchrequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/places/qplacesearchrequest.cpp')
-rw-r--r--src/location/places/qplacesearchrequest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/location/places/qplacesearchrequest.cpp b/src/location/places/qplacesearchrequest.cpp
index c12b6c6c..c202a838 100644
--- a/src/location/places/qplacesearchrequest.cpp
+++ b/src/location/places/qplacesearchrequest.cpp
@@ -79,6 +79,8 @@ QPlaceSearchRequestPrivate::QPlaceSearchRequestPrivate(const QPlaceSearchRequest
this->categories = other.categories;
if (other.searchArea)
this->searchArea = other.searchArea->clone();
+ else
+ this->searchArea = 0;
this->dymNumber = other.dymNumber;
this->scope = other.scope;
}