qt6-bb10/src/printsupport
Friedemann Kleint 579283507c QWin32PrintEngine: Fix uninitialized memory read of dpi_x, dpi_y
Discovered by purify:
QWin32PrintEnginePrivate::initialize() called updateMetrics()
via updatePageLayout() after initHDC(), so dpi_x, dpi_y
were accessed before initialized from the display resolution.
Fix by moving the call initHDC() up and giving default
values.

Change-Id: Ia360c06d156e569ca6b1472ec5b5cdc52948f913
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
2016-08-30 12:02:09 +00:00
..
dialogs Doc: Change instances of '(Mac) OS X' to 'macOS' 2016-08-12 08:30:29 +00:00
doc Doc: Remove repository name from examplesinstallpath 2016-05-12 12:15:52 +00:00
kernel QWin32PrintEngine: Fix uninitialized memory read of dpi_x, dpi_y 2016-08-30 12:02:09 +00:00
widgets Make QWidget *=0, Qt::WindowFlags f=0 functions use Q_NULLPTR 2015-07-04 06:03:52 +00:00
printsupport.pro consistently put {qt,qml}_{module,plugin} at the end of project files 2016-03-07 14:09:49 +00:00