qt5base-lts/tests/manual/cocoa
Gabriel de Dietrich f27d1ccbb2 QCocoaMenu: De-pessimize the number of calls to validateMenuItem:
Calling -[NSMenu update] every time we add a new item can result in
a quadratic behavior since the function itself will iterate over all
the items in the menu. We solve this by using a 0-timer which will
trigger the call to update the next time the event loop spins.

Menurama manual test updated.

Change-Id: Ic155d364515cc93eb81b1c8085c8e44c93799954
Task-number: QTBUG-62396
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2017-08-15 01:21:37 +00:00
..
appicon Updated license headers 2016-01-21 18:55:18 +00:00
menurama QCocoaMenu: De-pessimize the number of calls to validateMenuItem: 2017-08-15 01:21:37 +00:00
menus Updated license headers 2016-01-21 18:55:18 +00:00
nativewidgets Updated license headers 2016-01-21 18:55:18 +00:00
popups Updated license headers 2016-01-21 18:55:18 +00:00
qmaccocoaviewcontainer Implement QMacCocoaViewContainer in terms of foreign window 2016-10-05 19:37:17 +00:00
qsystemtrayicon Updated license headers 2016-01-21 18:55:18 +00:00
qt_on_cocoa Updated license headers 2016-01-21 18:55:18 +00:00
wheelevent Updated license headers 2016-01-21 18:55:18 +00:00