summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qstylehelper_p.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2014-09-11 10:01:44 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>2014-09-11 10:15:22 +0200
commitc1b46b98edc2f12fb7c596660777debed9191f52 (patch)
treed51528030d41493b50c8d78d270ddf845c02a2b9 /src/widgets/styles/qstylehelper_p.h
parent4b6d87372561c960a3e42989db8c0bdb02f1df4a (diff)
Fix possible divide by zero in QPlainTextEdit
If the font engine for some reason fails to get font metrics for the font, the application should still not crash. [ChangeLog][Widgets][QPlainTextEdit] Fixed a possible divide by zero crash when font metrics were missing for the font. Task-number: QTBUG-40347 Change-Id: I571bc3eace07cdbee6f9ce9aa649df95412aed71 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/widgets/styles/qstylehelper_p.h')
0 files changed, 0 insertions, 0 deletions