qt5base-lts/tests/auto/gui/itemmodels
Shawn Rutledge 84e76c37a5 Restore default role names in QStandardItemModel::roleNames()
Amends 32b586864e, which added an override
of QStandardItemModel::roleNames().  It's good for it to have its own
QHash so that roles can be added, and because
QStandardItemModel::setItemRoleNames() remains un-deprecated; but before
that change, they were the roles that QAbstractItemModel had initialized
from QAbstractItemModelPrivate::defaultRoleNames().  In particular, we
need "display" to map to Qt::DisplayRole by default; several tests in
qtdeclarative depend on that.

Change-Id: I58b2d6aa6b6c78b1d618335ddc4ecb834af57274
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-06-10 19:58:48 +02:00
..
qstandarditem Remove deprecated members from several QtGui classes 2020-04-27 12:21:29 +02:00
qstandarditemmodel Restore default role names in QStandardItemModel::roleNames() 2020-06-10 19:58:48 +02:00
CMakeLists.txt Run those autotests with cmake 2020-04-15 18:55:52 +01:00
itemmodels.pro