1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Fixed compile warning

This commit is contained in:
Martin Tůma 2018-09-10 21:21:40 +02:00
parent 2501f834c8
commit fe1aaa73a0

View File

@ -47,5 +47,7 @@ void Image::setDevicePixelRatio(qreal ratio)
{ {
#ifdef ENABLE_HIDPI #ifdef ENABLE_HIDPI
_img.setDevicePixelRatio(ratio); _img.setDevicePixelRatio(ratio);
#else // ENABLE_HIDPI
Q_UNUSED(ratio);
#endif // ENABLE_HIDPI #endif // ENABLE_HIDPI
} }