summaryrefslogtreecommitdiffstats
path: root/src/gui/platform
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-04-18 15:33:58 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-04-19 20:26:24 +0200
commit936fe007ee97ebfcab5fda749bcbbf333744ca9e (patch)
treeb44cab581ee9eeccf258c71674c20f9869b6181f /src/gui/platform
parent22b0ed0757ac9c73e1f6974fb60d4f2dbc490e3f (diff)
Fix setting combo data with QSortFilterProxyModel
qtbase/c27d2a57a441f9a1ce760e71635bd4c96882249d caused the code to go through QStandardItemPrivate::setItemData() which does not handle the special treatment of Qt::EditRole completely. In the constructor of QStandardItemData; map Qt::EditRole to Qt::DisplayRole to fix this as is done in setData(). Adapt the existing tst_QStandardItemModel::getSetItemData() to check whether both roles are received in the dataChanged() signal. Pick-to: 6.5 Fixes: QTBUG-112326 Change-Id: I133d058bacc3388c612c5b4fb18b54f5ef5cb56f Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch> Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/gui/platform')
0 files changed, 0 insertions, 0 deletions