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

QSortFilterProxyModel does not pass being testet by QAbstractItemModelTester

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.3.0
    • Core: Item Models
    • None

    Description

      Just add QAbstractItemModelTester to all unit tests of QSortFilterProxyModel. Multiple failures appear.

      It seems QSortFilterProxyModel does not adhere to the protocol of QAbstractItemModel.

      Patch activating QAbstractItemModelTester in QSortFilterProxyModel tests:
      https://codereview.qt-project.org/c/qt/qtbase/+/396561

      Attachments

        Activity

          People

            dfaure_kdab David Faure
            andreasbuhr Andreas Buhr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: