Commit ffb88395 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Fix warning when building with Qt 4



Change-Id: I52b6b84732cf363b06ea248eeabdc99d89fb4beb
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 69542826
...@@ -369,6 +369,7 @@ static qreal pixmapDevicePixelRatio(const QPixmap &pixmap) ...@@ -369,6 +369,7 @@ static qreal pixmapDevicePixelRatio(const QPixmap &pixmap)
#if QT_VERSION > 0x050000 #if QT_VERSION > 0x050000
return pixmap.devicePixelRatio(); return pixmap.devicePixelRatio();
#else #else
Q_UNUSED(pixmap);
return 1.0; return 1.0;
#endif #endif
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment