summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/src
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-08-03 12:11:38 +0300
committerMarc Mutz <marc.mutz@kdab.com>2016-08-12 08:27:53 +0000
commitb57f743c469f16f0c9ad5a9f0182454b74deff97 (patch)
tree1ad1d6709e810cbb1357006ac0431a7b00292714 /src/gui/doc/src
parent4e24ff2e68f942db1d8f90de43dae8db410e706b (diff)
QStringListModel: fix dataChanged's roles parameter
In QStringListModel, the display and the edit roles are synonyms, so when one is changed, the other changes with it. However, in setData() we only emitted a vector with just the role that was passed in by the user. Fix by always passing both roles, regardless of which one was used to set the data. Change-Id: I498e7cb33796fae266901817b01ad85d861d4bb4 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/gui/doc/src')
0 files changed, 0 insertions, 0 deletions