Mac: fix bugs for font selection in QFontDialog
authorLiang Qi <liang.qi@digia.com>
Tue, 30 Oct 2012 13:01:12 +0000 (14:01 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 14 Dec 2012 11:22:15 +0000 (12:22 +0100)
commit22929c5dfc98901a86a231a84dde90b19b94f8e5
tree16194776af4361a66e3258216fb54902a315f68e
parente62ab752373086b58f351b14acdf98a8afffb515
Mac: fix bugs for font selection in QFontDialog

Use localized family name and style name when selecting font with
non-English locale

Task-number: QTBUG-27415
Change-Id: Ie81507ed011fc096e0f5edad146e97c392e86494
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
(cherry picked from commit 3c09f6bc9aee0c97427fe8da6efdc73b4ac473aa)
src/gui/text/qfontdatabase.cpp
src/plugins/platforms/cocoa/qcocoafontdialoghelper.mm