qt5base-lts/tests/auto/corelib/tools
Edward Welbourne 6974737695 Change QLineF::setLength() to work whenever length() is non-zero
Previously it only worked when isNull() was false, which is true for
very short lines, even though length() may be non-zero.

[ChangeLog][QtCore][QLineF] QLineF::setLength() will now set the
length if the line's length() is non-zero. Previously, it was
documented to only set the length if isNull() was false; this is a
fuzzy check, so isNull() could be true for a line with non-zero
length().

Fixes: QTBUG-89569
Pick-to: 6.0 5.15
Change-Id: I803e622ad09c85815dde25df8dd3ba6dfcba0714
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2021-01-05 12:43:09 +01:00
..
collections Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
containerapisymmetry Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qalgorithms Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qarraydata Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qbitarray Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qcache Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qcommandlineparser Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qcontiguouscache CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qcryptographichash Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qduplicatetracker QSet: add insert(T&&) 2020-12-02 10:17:11 +01:00
qeasingcurve Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qexplicitlyshareddatapointer Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qflatmap Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qfreelist Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qhash Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qhashfunctions Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qline Change QLineF::setLength() to work whenever length() is non-zero 2021-01-05 12:43:09 +01:00
qlist Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qmacautoreleasepool Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qmakearray Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qmap Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qmargins Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qmessageauthenticationcode Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qoffsetstringarray Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qpair Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qpoint Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qpointf Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qqueue Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qrect Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qringbuffer Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qscopedpointer Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qscopedvaluerollback Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qscopeguard Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qset Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qsharedpointer Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qsize Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qsizef Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qstl Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qtaggedpointer Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qtimeline Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qvarlengtharray Replace discouraged Q_MOVABLE_TYPE by Q_RELOCATABLE_TYPE 2020-11-30 17:16:21 +01:00
qversionnumber Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
.prev_CMakeLists.txt QDuplicateTracker: add tests 2020-12-01 14:42:52 +01:00
CMakeLists.txt QDuplicateTracker: add tests 2020-12-01 14:42:52 +01:00
tools.pro QDuplicateTracker: add tests 2020-12-01 14:42:52 +01:00