summaryrefslogtreecommitdiff
path: root/examples/vulkan
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-04-18 15:33:58 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-04-19 19:31:48 +0000
commit6c2355f45772a9f623fa24662b7c3781bdca88af (patch)
tree7ffe1ec4a6c2e4caad5f3f696401b9a1023e3eb9 /examples/vulkan
parent8a9abb74d74279cb559a07baa0e7e1fd8f41304c (diff)
downloadqtbase-6c2355f45772a9f623fa24662b7c3781bdca88af.tar.gz
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. Fixes: QTBUG-112326 Change-Id: I133d058bacc3388c612c5b4fb18b54f5ef5cb56f Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch> Reviewed-by: David Faure <david.faure@kdab.com> (cherry picked from commit 936fe007ee97ebfcab5fda749bcbbf333744ca9e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/vulkan')
0 files changed, 0 insertions, 0 deletions