Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1757

QContact::clearDetails() does reset the type to QContactType::TypeContact, other than specified

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 1.2.x
    • Contacts
    • 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

      Attachments

        Activity

          People

            satu.m.makela satu makela
            kossebau Friedrich W. H. Kossebau
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: