diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2022-08-25 15:29:21 +0200 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2022-08-27 02:07:54 +0200 |
commit | aafd2c3fba315983f2117b12dc51487e37b93c68 (patch) | |
tree | 532057873b4e7c8a186923162a9c31066b37b1b3 /tests/auto/corelib/tools/qmap | |
parent | f35e5a44b0d148ede055a11c89fcd7e9920f0b85 (diff) |
tst_qstring: port away from deprecated APIs
* QVariant::Type -> QMetaType::Type.
* Guard the test for deprecated fromUtf16(const ushort *) overload with
QT_DEPRECATED_SINCE check.
* Use fromUtf16(const char16_t *) overload in other places.
As a drive-by: fix formatting in the affected lines.
Task-number: QTBUG-104858
Change-Id: I9fa3a935bca36e97f934f673e2fc07b451c72872
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/tools/qmap')
0 files changed, 0 insertions, 0 deletions