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

regression: qsortfilterproxymodel::reset doesn't invalidate the model (Windows)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.4
    • 4.7.0, 4.7.1
    • Widgets: Itemviews
    • None
    • Windows vs2005
    • e77e820191919aaf54c85f599cf71cfbecd1ee14

    Description

      This problem is introduced by merge request 416.
      Because the connection between modelReset signal and invalidate slot was removed, calling model->reset() doesn't invalidate the model anymore.
      You can see from the test case that when you click on the directory in the left tree view, the right listview should show the files inside the directory. But it doesn't show files correctly when you build it against 4.7.
      It works against 4.6.x.

      Attachments

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

        Activity

          People

            goffart Olivier Goffart (closed Nokia identity) (Inactive)
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes