mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-10-01 04:41:40 +02:00
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 a new issue