diff options
author | Janne Anttila <janne.anttila@digia.com> | 2013-04-17 15:05:41 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-17 19:48:55 +0200 |
commit | 2d73648c716f9375cdf5ae80771f5ead0d11eedf (patch) | |
tree | fba6cf64d3c2272d4e01a17d7aea2dd18efc6806 /tests/auto/widgets/styles | |
parent | 0775f88c6638411893749042bfe88e0ef789cf9c (diff) |
Fix tst_networkselftest build for WEC7.
WEC7 does not have time() function. Let's use Qt APIs to query time and
initialize random number generator, Qt APIs have already been adapted
to work on all supported platforms.
In addition use QByteArray instead of QString to avoid unnecessary type
conversions later on with toLatin1().
Change-Id: I1ae3729397b0f4a1bd138022a4e122021e10f1e9
Reviewed-by: Björn Breitmeyer <bjoern.breitmeyer@kdab.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
Diffstat (limited to 'tests/auto/widgets/styles')
0 files changed, 0 insertions, 0 deletions