qt5base-lts/tests/auto/corelib
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
..
animation Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
global Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
io QProcess: allow pipelining for detached processes 2020-12-31 12:16:46 +00:00
itemmodels Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
kernel Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
mimetypes Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
plugin Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
serialization Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
text Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
thread Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
time Add test creating QDateTime in double-DST gap in 1947 Germany 2020-12-24 19:41:48 +01:00
tools Change QLineF::setLength() to work whenever length() is non-zero 2021-01-05 12:43:09 +01:00
.prev_CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
corelib.pro Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00