diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-02-12 11:08:40 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-02-15 14:53:49 +0000 |
commit | bfb47b39f6f72bf61b457ed54e8c259fb472fa99 (patch) | |
tree | 74db21488e1f0f304b3aa15790b463e5f573e686 /tests/auto/corelib/kernel/qsocketnotifier/tst_qsocketnotifier.cpp | |
parent | 58141642b6e20fc0ad5f32158d6ace05017be49a (diff) |
Windows QPA: Fix the signature of the font enumeration callbacks.
Instead of casting the function in the calls to EnumFontFamiliesEx(),
use the correct signature and cast inside the callbacks. Also
avoid unconditionally casting the TEXTMETRIC parameter to
NEWTEXTMETRICEX since according to documentation
NEWTEXTMETRICEX is passed for TrueType fonts only.
Task-number: QTBUG-50804
Change-Id: I0393474ac06000fc3f12d2dbc2a5aa37a6b44849
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
Diffstat (limited to 'tests/auto/corelib/kernel/qsocketnotifier/tst_qsocketnotifier.cpp')
0 files changed, 0 insertions, 0 deletions