summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-08-18 11:10:09 +0200
committerMarc Mutz <marc.mutz@qt.io>2022-08-26 19:50:47 +0200
commit3f32b01b98f71df32281745fb54b62ab123fe424 (patch)
tree5458c3a13d109a1b16409edce0e666accdfe8ae8 /src/corelib/tools
parent24675d1a94461cc9d83760c81c164ff4fc0069c9 (diff)
Port QDir to qsizetype [2/3]: implementation
Port ints that should be qsizetype. None of these are likely to cause bugs, because both path lengths and number of directory entries are usually limited by the OS, not by INT_MAX. As a drive-by, replace length() with size() and port some functions from QString to QStringView. Pick-to: 6.4 6.3 6.2 Task-number: QTBUG-103525 Change-Id: I79eb6d580631346a1e77eb1c7a73a3880943794e Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools')
0 files changed, 0 insertions, 0 deletions