Fixed metric bug in VObjPaintDevice
--HG-- branch : develop
This commit is contained in:
parent
5f62ce2bde
commit
9301347f3f
|
@ -156,6 +156,8 @@ int VObjPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric) const
|
|||
return engine->getResolution();
|
||||
case QPaintDevice::PdmPhysicalDpiY:
|
||||
return engine->getResolution();
|
||||
case QPaintDevice::PdmDevicePixelRatio:
|
||||
return 1;
|
||||
default:
|
||||
qWarning("VObjPaintDevice::metric(), unhandled metric %d\n", metric);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user