diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2017-12-07 09:27:41 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2017-12-07 19:10:09 +0000 |
| commit | a31f65d8c88d5973645ddbeb03ab3286428e5ec4 (patch) | |
| tree | 10b4c1e15e859fd733c0a105e6e73fb48a9ef06c /src/concurrent/doc/snippets/code | |
| parent | b461ac36edee0b5d68177072256e18bf30b1fead (diff) | |
tst_QRegion: compile under QT_DISABLE_DEPRECATED_BEFORE=0x051200
The introduction of begin()/end() actually made most tests
that still use rects() duplicates. Keep them, though, for
test coverage (rects() takes a very different code path
from begin()/end()), but, under the assumption that Qt at
some point will default to built with deprecated APIs dis-
abled, make the test compile with disabled deprecated API.
Port some checks that still used rects() to begin()/end().
Change-Id: Ia7da80f0cd6ef69693f54a474924683624a2c3eb
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/concurrent/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
