qt5base-lts/tests/auto/gui
Mitch Curtis 09dd19df5c Do not consider sign in qIsNull.
The current implementation of qIsNull only returns true if the value is
positive zero. This behaviour is not useful for use cases like
QPointF::isNull, where QPointF(-0, -0).isNull() will return false.
There doesn't seem to be a reason why the function exhibits this
behaviour (-0.0 is not accounted for in the unit tests), and for the
case of QSizeF::scale it causes a bug: qIsNull is used to check for
division by 0.0 before it proceeds, which fails in the case of -0.0.

Task-number: QTBUG-7303
Change-Id: I767e5280bd26614e8e78ae62b274eb9bc4ade385
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
2012-08-22 04:04:57 +02:00
..
image Remove some dead code wrapped in Q_WS_QWS. 2012-08-03 11:24:28 +02:00
itemmodels Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
kernel Revert "Move QWindowSystemInterface out of qpa." 2012-08-03 00:38:09 +02:00
math3d Do not consider sign in qIsNull. 2012-08-22 04:04:57 +02:00
painting Remove some dead code wrapped in Q_WS_QWS. 2012-08-03 11:24:28 +02:00
qopengl Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
text Fix freetype font rendering for Windows CE 2012-08-20 12:25:03 +02:00
util Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
gui.pro Move QStandardItem/QStandardItemModel to QtGui 2012-06-29 22:42:19 +02:00