diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2013-09-14 16:08:18 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-16 14:13:11 +0200 |
commit | 63b6a9e6e451d1095bc624e99e82738e2f26e3be (patch) | |
tree | 930b7f501ea997ab129901bc51883fd940124053 /tests | |
parent | 37a2b82d00d55b7816f149ee8b6cf3fa6b1dae28 (diff) |
tst_QTextLayout: fix unhandled enum value in switch warning
Change-Id: I006286487a409d492fe398a2fed5dd854f758f9f
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/gui/text/qtextlayout/tst_qtextlayout.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/gui/text/qtextlayout/tst_qtextlayout.cpp b/tests/auto/gui/text/qtextlayout/tst_qtextlayout.cpp index 6c56d3c2fa..90137079f3 100644 --- a/tests/auto/gui/text/qtextlayout/tst_qtextlayout.cpp +++ b/tests/auto/gui/text/qtextlayout/tst_qtextlayout.cpp @@ -1587,6 +1587,8 @@ void tst_QTextLayout::testTabDPIScale() case QPaintDevice::PdmPhysicalDpiX: case QPaintDevice::PdmPhysicalDpiY: return 72; + case QPaintDevice::PdmDevicePixelRatio: + ; // fall through } return 0; } |