Commit eb466b63 authored by David Faure's avatar David Faure
Browse files

Fix QAction::setFont crash on OSX, when font is unknown.


customMenuFont was null, so objects was an empty array, and
NSDictionary throws an exception when being called with arrays
of different sizes.

Task-number: QTBUG-42728
Change-Id: I8cdab449fd8c1d12b65c46dd5617a7f5e3e96c6e
Reviewed-by: default avatarGabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
parent 6c5d1dbd
No related merge requests found
Showing with 22 additions and 7 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment