From fe1aaa73a02cbb3b98c122be60ba00c51e7c5967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Mon, 10 Sep 2018 21:21:40 +0200 Subject: [PATCH] Fixed compile warning --- src/map/image.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 }