Fixed metric bug in VObjPaintDevice

--HG--
branch : develop
This commit is contained in:
val177 2015-09-12 01:24:39 +03:00
parent 5f62ce2bde
commit 9301347f3f

View file

@ -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;