diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2024-12-02 11:36:43 +0100 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2024-12-11 14:26:04 +0100 |
| commit | 2401eacdc7bd6072ac18ef4715c4b2e433bb57ef (patch) | |
| tree | a9d49244d9af0ac19613c94bff34fa7e1edf48eb /src/qml/jsruntime/qv4stringobject.cpp | |
| parent | 2f35c7036e468d97ace2a5b3987674a30d29d532 (diff) | |
QtQml: Fix implementation of QQmlDataBlob::progress()
We were dividing by 0xff twice, producing not percentages but
1/10000ths. Furthermore, the progressChanged() signaling from
QQmlComponent was confused, often signaling a change when no actual
change happened, or only signaling a change after it had already become
perceptible to a user. Finally, QQmlDataBlob already caused too many
callbacks to the progress change handler, which was especially silly
because those have to travel across the thread boundary.
Change-Id: Ifa09e4952a9213ef6290d8f3f3ab09d9f3f137df
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4stringobject.cpp')
0 files changed, 0 insertions, 0 deletions
