Skip to content

Commit

Permalink
Shutup build warning with Qt 5.6
Browse files Browse the repository at this point in the history
  • 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
Original file line number Diff line number Diff line change
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.