diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-02-01 12:06:26 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-02-01 11:16:38 +0000 |
commit | 814d15c5255cf4a46419c21d5f193bb1a499f9f4 (patch) | |
tree | 6d4b6a97fa87f32fc49b9be5e1277b79eaba8ba3 /src/quick/util | |
parent | 5dd9c684e0a9a36a3cde047f77b5da93907e96be (diff) |
fix memory leak in QQuickWindowPrivate::deliverTouchAsMouse
A QTouchEvent is allocated with a reduced subset of TouchPoints for
each Item to which we attempt to deliver it, and thrown away afterwards.
(Ιt's not efficient to heap-allocate it, but we can't avoid doing it
at all without changing behavior.) So now it's stored in a QScopedPointer.
Change-Id: I48badb493610d0a715e582a2eedae95e2006eb2b
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/quick/util')
0 files changed, 0 insertions, 0 deletions