summaryrefslogtreecommitdiff
path: root/src/location/places/qplaceeditorial.cpp
diff options
context:
space:
mode:
authorabcd <amos.choy@nokia.com>2012-07-27 13:59:20 +1000
committerQt by Nokia <qt-info@nokia.com>2012-08-02 07:25:20 +0200
commit7d8d130aa3ea4f11f6ceaccac0e9abeed480029c (patch)
tree511849e7f94ac38c2857672082c94417bfd02df4 /src/location/places/qplaceeditorial.cpp
parent29760b127b4f4a6de8d178f6049b05f1c338ffb0 (diff)
downloadqtlocation-7d8d130aa3ea4f11f6ceaccac0e9abeed480029c.tar.gz
Fix detachment of QPlaceEditorial objects
During shared d-pointer detachment of a QPlaceEditorial instance, the QPlaceContent fields were not copied. The QPlaceEditorial unit test has been modified to check this issue. Change-Id: Icb216f9c910ca1d13f7ece16ab18e67e3e6ec500 Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'src/location/places/qplaceeditorial.cpp')
-rw-r--r--src/location/places/qplaceeditorial.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/places/qplaceeditorial.cpp b/src/location/places/qplaceeditorial.cpp
index dcf53752..57306d3c 100644
--- a/src/location/places/qplaceeditorial.cpp
+++ b/src/location/places/qplaceeditorial.cpp
@@ -50,7 +50,7 @@ QPlaceEditorialPrivate::QPlaceEditorialPrivate()
}
QPlaceEditorialPrivate::QPlaceEditorialPrivate(const QPlaceEditorialPrivate &other)
-: QPlaceContentPrivate(), text(other.text), contentTitle(other.contentTitle),
+: QPlaceContentPrivate(other), text(other.text), contentTitle(other.contentTitle),
language(other.language)
{
}