Fix compilation of 'gb.qt4'.
[GB.QT4] * BUG: Fix compilation of 'gb.qt4'.
This commit is contained in:
parent
c8835ae99c
commit
ef59714579
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue