diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-01-14 12:49:14 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-01-14 12:18:32 +0000 |
commit | cf11bcd7957eaa8f1665c5237abed9d38f53d241 (patch) | |
tree | 510fe114b094828894cf54f6dce15542197b49a9 /sources/shiboken2 | |
parent | 2fc25e72b289b0f8e10110ffa886cad864d3147c (diff) |
Fix a crash when overriding QAbstractNativeEventFilter.QAbstractNativeEventFilter()
long * result is nullptr for the custom message WM_USER + 1 internally
used by Qt (cf QEventDispatcherWin32::processEvents()).
Add a check for that.
Amends 899b3cfed8e1c3513f8d3001c53b0bb0cc1af548.
Task-number: PYSIDE-790
Change-Id: I4c55cfb17aa95d79f728f43a9030d1f1cbb1d024
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken2')
0 files changed, 0 insertions, 0 deletions