diff options
Diffstat (limited to 'src/printsupport')
-rw-r--r-- | src/printsupport/kernel/qprintengine_win.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/printsupport/kernel/qprintengine_win.cpp b/src/printsupport/kernel/qprintengine_win.cpp index 731e923b2b..b377401ed9 100644 --- a/src/printsupport/kernel/qprintengine_win.cpp +++ b/src/printsupport/kernel/qprintengine_win.cpp @@ -384,6 +384,9 @@ int QWin32PrintEngine::metric(QPaintDevice::PaintDeviceMetric m) const case QPaintDevice::PdmDepth: val = GetDeviceCaps(d->hdc, PLANES); break; + case QPaintDevice::PdmDevicePixelRatio: + val = 1; + break; default: qWarning("QPrinter::metric: Invalid metric command"); return 0; |