diff --git a/src/map/image.cpp b/src/map/image.cpp index 9fe4ae7f..72a086db 100644 --- a/src/map/image.cpp +++ b/src/map/image.cpp @@ -47,5 +47,7 @@ void Image::setDevicePixelRatio(qreal ratio) { #ifdef ENABLE_HIDPI _img.setDevicePixelRatio(ratio); +#else // ENABLE_HIDPI + Q_UNUSED(ratio); #endif // ENABLE_HIDPI }