Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
1.2.x
-
None
-
b45ac27f1a94e9460249bc357ada800271d5f2db
Description
API dox of QContact::clearDetails says:
"This function does not modify the id or type of the contact."
http://doc.qt.nokia.com/qtmobility-1.2/qcontact.html#clearDetails
But the implementation does that, resets the type to QContactType::TypeContact:
QContactType contactType;
contactType.setType(QContactType::TypeContact);
contactType.d->m_access = QContactDetail::Irremovable;
d->m_details.insert(1, contactType);
https://www.qt.gitorious.org/qt-mobility/contacts/blobs/master/src/contacts/qcontact.cpp#line193