Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-8849

Address Book Tutorial Step 6: when loading the contacts, contacts->clear() should be called instead of contacts->empty()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.0.0
    • 4.6.2
    • Examples and Demos
    • None
    • I9bb8e855d96cecd2a0df336cb46e308ddedf0d07

      See summary. empty() method just returns whether the map is empty or not. It does not make the map empty, right way to do it is to call clear() method.

        For Gerrit Dashboard: QTBUG-8849
        # Subject Branch Project Status CR V

            mitch_curtis Mitch Curtis
            blacharnia Rafal Piotrowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes