summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-04-05 19:11:04 +0200
committerChristopher Adams <chris.adams@jollamobile.com>2016-06-15 07:37:04 +0000
commit5e1152679f92005fde02c0fa479a76f0f4b48023 (patch)
treef3f5e36ff1c1085c974a70f5dc51fcf5586545c6
parent3b23541860b50844e77773e7f9080a1bc62d90bb (diff)
fix build with qt in namespace
Change-Id: I1e55ed4b92a80fc4d755759d454e1b83f47aa5aa Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
-rw-r--r--src/contacts/qcontactdetail_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/contacts/qcontactdetail_p.h b/src/contacts/qcontactdetail_p.h
index 923eb23be..26ee9bfac 100644
--- a/src/contacts/qcontactdetail_p.h
+++ b/src/contacts/qcontactdetail_p.h
@@ -505,10 +505,12 @@ public:
QT_END_NAMESPACE_CONTACTS
+QT_BEGIN_NAMESPACE
// allow shared data / detach for specific detail types
template <> inline QTCONTACTS_PREPEND_NAMESPACE(QContactDetailPrivate) *QSharedDataPointer<QTCONTACTS_PREPEND_NAMESPACE(QContactDetailPrivate)>::clone()
{
return d->clone();
}
+QT_END_NAMESPACE
#endif // QCONTACTDETAIL_P_H