diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-12-02 15:40:14 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-12-03 13:49:31 +0100 |
commit | 0cd2935ed9d772f0eb06d03201baabd60764ec80 (patch) | |
tree | 709538594c39136c301cadfdedcbd55e52cc93ad /tests/auto/tools | |
parent | 83e95956ed58e88b11e2cc3cb61c5beacb7985db (diff) |
Dont' return a const ref to QModelIndex
The conversion operator from QPMI to QModelIndex should return by
value, to hide implementation details and so that we don't have to
rely on a static empty QModelIndex.
Pick-to: 6.0 dev
Change-Id: I92b3f8451422f2b69bf31f28b387a124fd24ec46
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'tests/auto/tools')
0 files changed, 0 insertions, 0 deletions