diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-11-11 00:12:10 +0100 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-11-11 23:39:06 +0100 |
| commit | 89391da882d981a92e5f86e1d049d2e24baf9b2b (patch) | |
| tree | 5309e1c2834ba6c669182f98dbe9652e566007aa /src/corelib/thread/qthreadpool.cpp | |
| parent | f27f9e7bd3d180fed533bda3be812707ed38c6c0 (diff) | |
Fix QGraphicsView's abuse of QEvent's d-pointer in Leave event handling
QGraphicsSceneEvent carries a widget pointer, and we can add a new
event
type. Assert that QGraphicsScene doesn't get Leave events from
elsewhere.
This was the only "usage" of QEvent's d-pointer in Qt, so with this gone
we can reduce the size of QEvent by 8 bytes.
Change-Id: I0513daf742de9084d0469d55b7a7f41b667e8081
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/thread/qthreadpool.cpp')
0 files changed, 0 insertions, 0 deletions
