diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2025-03-21 21:26:33 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2025-03-22 20:24:02 +0000 |
| commit | 9f2db4acd7d063b884cf3ad4f085f1644ba925db (patch) | |
| tree | e0f719f69fc1055fd4e4078b1d1de7cbdd5d0cda /src/concurrent/doc/snippets | |
| parent | 47cf0433294e3878416dc436bd27fb6efb6fcdc8 (diff) | |
QFileSystemModel: remove an unneeded const_cast
QAIM::createIndex() takes a const void* pointer, so we don't need to
const_cast the const away.
Amends the start of the public history.
Picking all the way back, because I'm hunting a memleak here, and
can't say, yet, whether these lines need to be modified or
not. Besides, this change is 100% safe: either it compiles and works
as before or it doesn't compile. There is no silent breakage possible.
Pick-to: 6.9 6.8 6.5 5.15
Change-Id: I2f9284540beed9d1ab027ac1e24f1c527537e122
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/concurrent/doc/snippets')
0 files changed, 0 insertions, 0 deletions
