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

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

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes