Commit c4fc323d authored by Michael Bruning's avatar Michael Bruning Committed by Michael Brüning
Browse files

Also initialize context data if the menu policy is CustomContextMenu.


It does contain valid data and some users seem to build upon the
standard context menu.

Also, return early with a  nullptr from createStandardContextMenu when
the context menu data d ptr is null.

Task-number: QTBUG-53952
Change-Id: Ib30e85f10e3ae681527210a9e8554f5a21dba7ae
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@qt.io>
parent 5e3250a2
No related merge requests found
Showing with 7 additions and 0 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment