tst_QTextLayout: fix unhandled enum value in switch warning

Change-Id: I006286487a409d492fe398a2fed5dd854f758f9f
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
Marc Mutz 2013-09-14 16:08:18 +02:00 committed by The Qt Project
parent 37a2b82d00
commit 63b6a9e6e4

View File

@ -1587,6 +1587,8 @@ void tst_QTextLayout::testTabDPIScale()
case QPaintDevice::PdmPhysicalDpiX:
case QPaintDevice::PdmPhysicalDpiY:
return 72;
case QPaintDevice::PdmDevicePixelRatio:
; // fall through
}
return 0;
}