qt5base-lts/tests/auto/printsupport/kernel/qprinterinfo
Miikka Heikkinen 4bcd8fc2de Fix infinite recursion crash in QPrinterInfo::supportedPaperSizes()
This function calls platform specific function
QWindowsPrinterSupport::supportedPaperSizes(), which then called back
to QPrinterInfo::supportedPaperSizes(), causing infinite recursion.

Fixed by providing a proper implementation for querying supported
paper sizes in QWin32PrintEngine - the same implementation was used in
Qt 4.8.

Task-number: QTBUG-24190
Change-Id: I64a2773d83596df19818bf2636f1255943d7851d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-03-19 18:02:39 +01:00
..
.gitignore Move tst_qprinter.cpp to QtPrintSupport 2012-03-12 13:14:05 +01:00
qprinterinfo.pro Fix infinite recursion crash in QPrinterInfo::supportedPaperSizes() 2012-03-19 18:02:39 +01:00
tst_qprinterinfo.cpp Move tst_qprinter.cpp to QtPrintSupport 2012-03-12 13:14:05 +01:00