Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Shutup build warning with Qt 5.6
  • Loading branch information
m-kuhn committed Jul 9, 2016
1 parent d2c9863 commit 41378e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/dxf/qgsdxfpaintdevice.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 41378e1

Please sign in to comment.