Uninitialized variable in QTouchEventTouchPointPrivate

Non-static class member rotation is not initialized in this constructor
nor in any functions that it calls.

Change-Id: I2dde99a8cd2107b0cfb4201f641d40b4d0823aa2
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
This commit is contained in:
Jesus Fernandez 2016-04-15 13:44:06 +02:00
parent 8fbae648db
commit 418b6f6899

View File

@ -65,7 +65,8 @@ public:
: ref(1),
id(id),
state(Qt::TouchPointReleased),
pressure(qreal(-1.))
pressure(qreal(-1.)),
rotation(qreal(0.))
{ }
inline QTouchEventTouchPointPrivate *detach()