Skip to content
Permalink
Browse files

Shutup build warning with Qt 5.6

  • Loading branch information
m-kuhn committed Jul 9, 2016
1 parent d2c9863 commit 41378e177019f2a7632e0911accb161e46702c72
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/dxf/qgsdxfpaintdevice.cpp
@@ -56,6 +56,10 @@ int QgsDxfPaintDevice::metric( PaintDeviceMetric metric ) const
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
case QPaintDevice::PdmDevicePixelRatio:
return 1;
#endif
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
case QPaintDevice::PdmDevicePixelRatioScaled:
return 1;
#endif
}
return 0;

0 comments on commit 41378e1

Please sign in to comment.
You can’t perform that action at this time.