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

QAbstractItemModelTester false positive

    XMLWordPrintable

    Details

    • Platform/s:
      All

      Description

      QAbstractItemModelTesterPrivate::parent() only checks for if (model->rowCount() == 0) before performing the tests but it should also check for columnCount()==0 as a model (QStandardItemModel is an example) can add rows while the number of columns is still 0 and this test should not report it as an error.
      The false positive was introduced by Change-Id: Idcdc86159f1fc79ed5297075dfcf30c09896287a

        Attachments

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

          Activity

            People

            Assignee:
            dfaure_kdab David Faure
            Reporter:
            VRonin Luca
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: