diff options
author | Tero Ahola <tero.ahola@digia.com> | 2011-11-10 15:24:14 (GMT) |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-11-10 15:24:14 (GMT) |
commit | 72e61b127470b044e370af7017fa8a5b0538244f (patch) | |
tree | 37d9df0306f756888b431971aaa0e39639c8bd84 /tests/auto/qprogressbar | |
parent | 4fffdabc948ff6afc6008d4cb723a6a2e10eef79 (diff) | |
download | Qt-72e61b127470b044e370af7017fa8a5b0538244f.zip Qt-72e61b127470b044e370af7017fa8a5b0538244f.tar.gz Qt-72e61b127470b044e370af7017fa8a5b0538244f.tar.bz2 |
Fix QProgressBar causing timer event spam
On Windows you will get a lot of timer events if you use QProgressBar
widget. This is because QWindowsStyle uses a timer to animate a
progress bar with unknown state (min and max values both zero). The
issue was fixed by starting the timer only if needed.
Task-number: QTBUG-10501
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'tests/auto/qprogressbar')
0 files changed, 0 insertions, 0 deletions