diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2019-12-03 17:34:06 +0300 |
---|---|---|
committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2019-12-09 19:43:22 +0300 |
commit | 8339ce2155752eb8fa0f49f3fe4b24f9643ae463 (patch) | |
tree | 2ff86ed84b652b554057dcc714e5b71f7c4869e1 /src/plugins/platforms/windows/qwindowscursor.h | |
parent | 009abcd7b66738bece6cf354776dfb2ef401636b (diff) |
Avoid crash in menu that was previously shown as submenu
Reset sloppyState for the previous submenu, so that if it
will be shown as a menu, it will not use an incorrect pointer.
Fixes: QTBUG-80528
Change-Id: If2ba8c3a664983ee76eb90d2c9a8096e2bd0a4e6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowscursor.h')
0 files changed, 0 insertions, 0 deletions