summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/kernel/qsocketnotifier/tst_qsocketnotifier.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-02-12 11:08:40 +0100
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-02-15 14:53:49 +0000
commitbfb47b39f6f72bf61b457ed54e8c259fb472fa99 (patch)
tree74db21488e1f0f304b3aa15790b463e5f573e686 /tests/auto/corelib/kernel/qsocketnotifier/tst_qsocketnotifier.cpp
parent58141642b6e20fc0ad5f32158d6ace05017be49a (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