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

'modified' property on unmodified contacts is set to TRUE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 1.3.0
    • Contacts
    • None
    • Ubuntu 11.04
      QtQuick 2.0

    Description

      import QtQuick 2.0
      import QtContacts 5.0
      
      Rectangle {
          id: win
          width: 360
          height: 360
      
          ContactModel {
              id: contactsModel
              manager: "memory"
              Component.onCompleted: {
                      contactsModel.importContacts(Qt.resolvedUrl("example.vcf"))
              }
          }
      
          ListView {
              id: contactsView
              anchors.fill: win
              model: contactsModel
              clip: true
              delegate: Rectangle {
                  border.width: 1
                  border.color: "darkred"
                  width: win.width
                  height: 52
                  Column {
                      spacing: 3
                      anchors.left: parent.left
                      anchors.leftMargin: 8
                      anchors.verticalCenter: parent.verticalCenter
                      Text { text: contact.name.firstName }
                      Text {
                          text: "modified: " + contact.modified
                          font.bold: true
                      }
                  }
              }
          }
      }
      

      Attachments

        Activity

          People

            satu.m.makela satu makela
            paeglis Gatis Paeglis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: