If you set an icon on an action in the Mac menu bar, it is not possible to later remove the icon via a call to action->setIcon(QIcon());
To reproduce:
1 - Run the attached sample application. The menu item should not have an icon, but it does.
| For Gerrit Dashboard: QTBUG-39557 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 88646,2 | Empty icons and Cocoa menu items. | dev | qt/qtbase | Status: ABANDONED | -1 | 0 |
| 88652,2 | Empty icons and Cocoa menu items. | 5.3 | qt/qtbase | Status: MERGED | +2 | 0 |