diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2018-02-02 15:04:15 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2018-02-04 16:11:58 +0000 |
commit | a0b0c1f6a3927e2f31b40619c17bffaf7571dd24 (patch) | |
tree | 447b7e8784c045d0132a4dcc2341e66f26203ddb /.qmake.conf | |
parent | cd58e66b974b6ed06d23dff565a3f29a76a55749 (diff) |
QtRemoting: fix test TestModelView::testFlags()
QStandardItemModel::dataChanged() now passes the correct modified roles
to dataChanged(). Since an empty role vector is treated as 'all roles may
have changed', the called slots handled the changed data. Now that the
correct role is passed, the slots filter it out as soon as they don't
care for the given role. Therefore we have to make sure to listen for the
correct roles - in this case Qt::UserRole - 1 which is used by
QStandardItem to store it's flags
Task-number: QTBUG-66061
Change-Id: I47d998f9b253a6555486e62bc9cc68cb92b4cc69
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Diffstat (limited to '.qmake.conf')
0 files changed, 0 insertions, 0 deletions