Fix compilation of 'gb.qt4'.

[GB.QT4]
* BUG: Fix compilation of 'gb.qt4'.
This commit is contained in:
gambas 2022-01-05 01:56:16 +01:00
parent c8835ae99c
commit ef59714579

View file

@ -1654,8 +1654,8 @@ int MyPaintDevice::metric(PaintDeviceMetric m) const
case PdmDpiY: return d->logicalDpiY();
case PdmPhysicalDpiX: return d->physicalDpiX();
case PdmPhysicalDpiY: return d->physicalDpiY();
case PdmDevicePixelRatio: return d->devicePixelRatio();
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
case PdmDevicePixelRatio: return d->devicePixelRatio();
case PdmDevicePixelRatioScaled: return d->devicePixelRatioFScale();
#endif
default: return 0;