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

QContactDetail::isEmpty() returns false if the detail is just an empty string

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 1.1.x
    • 1.0.0
    • Contacts
    • None
    • 48aaf8f8940e809c2cea2c9680f4f9fbca84fb3c

    Description

      QContactDetail::isEmpty() doesnt' report an empty detail if the detail contains an empty string. I think it should, because that's what people care about. I don't think the distinction between an empty string and no string is useful (and neither does the QString API).

      If you do think the distinction is useful then the QContactDetail::isEmpty() documentation should mention the behaviour.

      Attachments

        Activity

          People

            mgoddard Michael Goddard (closed Nokia identity) (Inactive)
            murrayc Murray Cumming
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: