Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.0.3
-
None
-
-
b4aac2af19690917553f93660e3ad760fc15d0b9 (qt/qtbase/dev) 1b1f2b265ebb25df8416293c6692fe82ab08e465 (qt/qtbase/6.1) a3d068bae181426f24acb55e3bdab413637492d1 (qt/tqtc-qtbase/5.15) 6d70441d2d53d97386f63652a47b695b5d6f2167 (qt/qtbase/6.0)
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