summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qstyleoption.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2019-12-11 19:48:53 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2019-12-14 08:46:37 +0100
commit0edd2e39ad7f959c3d0c56e79abd3c60d9950538 (patch)
treefa0d9829d645f2aeb36cfacea3ff5e1b97767100 /src/widgets/styles/qstyleoption.cpp
parent4689e198e76e054ef51254c0724064ba61408625 (diff)
Let QItemSelectionModel::columnIntersectsSelection honor the parent
QItemSelectionModel::columnIntersectsSelection() should honor the parent according to the docs. For rowIntersectsSelection() this was fixed a long time ago but columnIntersectsSelection() was forgotten. Sync the both functions and use range-based for loops as a drive-by. Fixes: QTBUG-80644 Change-Id: Iaf08f85e2225204d1e6564fa4bb0bc826352ed53 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/widgets/styles/qstyleoption.cpp')
0 files changed, 0 insertions, 0 deletions