[OS X] prevent a crash when opening konqueror's Help menu

Review Request #120355 - Created Sept. 24, 2014 and updated

Information
René J.V. Bertin
kde-baseapps
Reviewers
kde-baseapps, kde-mac, kdelibs, qt-kde

Mac OS X cannot handle the formatting used for title menu items when it applies to items in the toplevel menu bar. An application calling KMenu::addTitle on such a menu item will crash immediately, somewhere deep in Qt.

This patch works around that crash by emulating the addTitle effect.

Curiously, the addTitle call that causes the crash when clicking on the Help menu concerns a submenu of an item of the Tools menu...

OS X 10.6.8 with kdelibs 4.14.1

Files


Thomas Lübking
René J.V. Bertin
René J.V. Bertin
René J.V. Bertin
René J.V. Bertin
René J.V. Bertin
Review request changed

Added Files:

Loading...