diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2017-01-05 15:55:46 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2017-02-22 13:55:51 +0000 |
| commit | dbfde461ed9cb68ee23b6b15c3fadf66f6651205 (patch) | |
| tree | 8268681db73d83cb6217930785e1eae2c9634c55 /src/sql/doc/snippets/code | |
| parent | d4ae7d39c8fd5a1203a4c33cf56ec735ed581e5a (diff) | |
tst_QProgressBar: add a case for INT_MIN/INT_MAX to setValueRepaint()
Convert the function to be data-driven, then add cases for ranges with
limits INT_MIN, INT_MAX and zero to check for overflows in the
painting code. Speed up the function by removing the per-iteration
qWait() call and rely solely on the existing QTRY_VERIFY() to do the
right thing.
Change-Id: I6d2a2c2b7637fca7ddb2a9adc5f6550f8255da14
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/sql/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
