diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2019-07-30 17:16:50 +0200 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2019-08-01 06:48:27 +0200 |
commit | d914a5ba4e2f0c208473d5e76adb7d16e2e8e706 (patch) | |
tree | 09bca20a2129c4b40836ff26ce404f6b46da8436 /tests/auto/corelib/tools/qline | |
parent | a2c18fd10ca046b52d701e1bfe6e456d6cabec50 (diff) |
Remove the remaining usages of deprecated APIs of qtbase
This change removes the leftovers form other cleanup commits.
Task-number: QTBUG-76491
Change-Id: I61440f87c5a280f9666b78e19aac4d8ac603767e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests/auto/corelib/tools/qline')
-rw-r--r-- | tests/auto/corelib/tools/qline/tst_qline.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/corelib/tools/qline/tst_qline.cpp b/tests/auto/corelib/tools/qline/tst_qline.cpp index 0418daf640..31aa5b4e0c 100644 --- a/tests/auto/corelib/tools/qline/tst_qline.cpp +++ b/tests/auto/corelib/tools/qline/tst_qline.cpp @@ -207,7 +207,10 @@ void tst_QLine::testIntersection() QPointF ip; - QLineF::IntersectionType itype = a.intersect(b, &ip); + QLineF::IntersectionType itype = a.intersects(b, &ip); +#if QT_DEPRECATED_SINCE(5, 14) + QCOMPARE(a.intersect(b, &ip), itype); +#endif QCOMPARE(int(itype), type); if (type != QLineF::NoIntersection) { |