summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/htmlgenerator.cpp
diff options
context:
space:
mode:
authorRomain Perier <romain.perier@gmail.com>2013-05-30 08:33:25 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-07 09:17:11 +0200
commit119882714f87ffeb6945fdb2d02997ae125ff50c (patch)
tree3a2ef9b79fc7bd1623bfe9cc2cc20e67af2eedd6 /src/tools/qdoc/htmlgenerator.cpp
parent04830dbcb2c1b92bd949ac7fd56d293b02e91fef (diff)
Cocoa:Fixed crash when sharing QMenu between two QMenuBar instances
Don't insert a NSMenuItem into a NSMenu if this one already belongs to another NSMenu, this is forbidden in the Cocoa framework and raises an Exception. The solution consists in tagging the menu as sharable and moving it from one menubar to another when the window gets focus. Task-number: QTBUG-31342 Change-Id: Ic3bfadd4704f363ac26122ae15547543a0f6d44d Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/tools/qdoc/htmlgenerator.cpp')
0 files changed, 0 insertions, 0 deletions