diff options
| author | Wladimir Leuschner <wladimir.leuschner@qt.io> | 2024-07-15 10:47:09 +0200 |
|---|---|---|
| committer | Wladimir Leuschner <wladimir.leuschner@qt.io> | 2024-07-15 16:17:29 +0200 |
| commit | 384acdc1cf2cc6472c9eb9d2d79077736ded0e92 (patch) | |
| tree | 9f26403589c5b7369b3b4e0b058733c3200eb5d5 /src/corelib/io/qresource.cpp | |
| parent | 1ab33d575a6993ceb8d9482c20d5c7d6deb252ea (diff) | |
QWindows11Style: Use QProgressStyleAnimation for QProgressBar
Currently for an indeterminate QProgressBar in QWindows11Style, a busy
drawing is triggered, consuming more CPU resources than necessary. This
patch avoids the busy drawing by using QProgressStyleAnimation, which
only triggers a redraw for specified Fps.
Fixes: QTBUG-127112
Pick-to: 6.8 6.7
Change-Id: I46da8ffcb849563c771dbc72af4c7e8b306b4802
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/corelib/io/qresource.cpp')
0 files changed, 0 insertions, 0 deletions
