diff options
author | Marc Mutz <marc.mutz@qt.io> | 2024-06-11 09:51:27 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2024-06-13 07:10:19 +0200 |
commit | 434ea44018e0c741e5e985558880b6873d63ee1f (patch) | |
tree | 6f8202c85ac0fc96ea1eabd5493fe1a8dc750fa4 /tests/auto/qml/qmllint/data/settings/qmlimports/subdir/Custom/qmldir | |
parent | 875d577e9218d59d4c9b54cd3a390aefa1cadb45 (diff) |
Applying headersclean_check to private headers has pointed out that
QAbstractAnimation{Timer,Job}::runningAnimationCount() narrow
qsizetype to int in their respective return statements.
Since this is private API, we can change the return type of the
functions called runningAnimationCount() (incl. the one in
QUnifiedTimer) from int to qsizetype, but have to adapt the users in
other modules first.
QtDeclarative is the only such module.
For the virtual function, use a C++ macro defined in the respective
QtBase change.
For the caller, just receive as qsizetype already, and safely narrow
when passing to the next function, which still takes int.
Task-number: QTBUG-103530
Task-number: QTBUG-126219
Change-Id: Ib3d57290e74e8c099bbf23c615c409525ce690d2
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint/data/settings/qmlimports/subdir/Custom/qmldir')
0 files changed, 0 insertions, 0 deletions