diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-03-29 09:29:14 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-04-07 09:51:25 +0000 |
commit | a3316d6c95641b91321ade7fc9a5f88226973b55 (patch) | |
tree | f18e5706621c65c7f481914083aa9cb587851e8b /cmake/QtPluginHelpers.cmake | |
parent | e28b65f868d3f3fe430208dc29bfb9982e82ef48 (diff) |
standarddialogs example: Fix font handling
The example crashed since it passed the font label text (which
receives the font key) to the QFont constructor taking the family list.
Use QFont::fromString() instead.
Change-Id: I499fc9200b4d817b10c946a7b79ede4e7f7e69af
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
(cherry picked from commit c10159a9a1254992867242897adb19ae1c3c3c35)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'cmake/QtPluginHelpers.cmake')
0 files changed, 0 insertions, 0 deletions