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

QTreeWidgetItemIterator does not iterate over all items of TreeWidget if sorting is enabled.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.1.0
    • 4.7.4, 4.8.4
    • Widgets: Itemviews
    • None
    • Windows7
    • 05751a7e75da5e4634afccee23076c0dac2ce8b0 aa2d10750ad8cdb6a86d519063664c2924b2a635

      If QTreeWidgetItemIterator is used to loop through all the items of a tree widget having sorting enabled, the iterator does not point to all individual treewidget item uniquely rather it points to some item multiple time.

      Attached example reproduce the behavior.
      Run the application and see the output it prints same item twice.

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

            smd Jan Arve
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes