diff --git a/src/GUI/mapview.cpp b/src/GUI/mapview.cpp index 786a3444..1ed40fda 100644 --- a/src/GUI/mapview.cpp +++ b/src/GUI/mapview.cpp @@ -881,6 +881,7 @@ void MapView::setDevicePixelRatio(qreal deviceRatio, qreal mapRatio) reloadMap(); #else // ENABLE_HIDPI - Q_UNUSED(ratio); + Q_UNUSED(deviceRatio); + Q_UNUSED(mapRatio); #endif // ENABLE_HIDPI }