diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-10-20 22:39:18 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-10-21 08:22:36 +0200 |
commit | 9aba868571e7448ea79229a31d18bfd3e69813f8 (patch) | |
tree | 54af30c7e0a01b88f74326370bee57697a790d9b /src/corelib/tools/qversionnumber.cpp | |
parent | 21d39168170c6833512c4a5f53985272741bd7e7 (diff) |
QEvent copy constructor: copy the type flags too
Failure to copy m_inputEvent and m_pointerEvent actually left them
uninitialized, and resulted in random behavior in Qt Quick when
Flickable clones a pointer event for later replay.
Remove the comment about copying events being a "bad idea" in Qt 4,
while we're at it. Copying became more common in Qt 5, and we
probably won't be able to stop doing it now.
Change-Id: I40b6ba5ad696e7aaafbeefbca86eca00cab40616
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qversionnumber.cpp')
0 files changed, 0 insertions, 0 deletions