summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorMichael Bruning <michael.bruning@qt.io>2016-06-09 12:58:29 +0200
committerMichael BrĂ¼ning <michael.bruning@qt.io>2016-06-09 12:41:22 +0000
commitc4fc323d0771e24ae726065cdce9eafef2c09c41 (patch)
tree2822e13fee2623ade795b6a6936adc01d27f3d03 /dist
parent5e3250a24a8cde71de085754922aa6708c036237 (diff)
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: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions