VObjPaintDevice new enum PdmDevicePixelRatioScaled.
--HG-- branch : develop
This commit is contained in:
parent
af1061635a
commit
6b519092f6
|
@ -163,6 +163,9 @@ int VObjPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric) const
|
|||
return engine->getResolution();
|
||||
#if QT_VERSION > QT_VERSION_CHECK(5, 0, 2)
|
||||
case QPaintDevice::PdmDevicePixelRatio:
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
|
||||
case QPaintDevice::PdmDevicePixelRatioScaled:
|
||||
#endif
|
||||
return 1;
|
||||
#endif
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue
Block a user