Commit 94266398 authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Welcomescreen: Smooth scaling of screen shots



Change-Id: Iab20d2d0dcfe378d4848c38d4a63041859249a0d
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 913fd1dc
......@@ -96,7 +96,7 @@ QImage ScreenshotCropper::croppedImage(const QImage &sourceImage, const QString
return result;
}
return sourceImage.scaled(cropSize, Qt::KeepAspectRatio);
return sourceImage.scaled(cropSize, Qt::KeepAspectRatio, Qt::SmoothTransformation);
}
static int areaAttribute(const QXmlStreamAttributes &attributes, const QString &name)
......
Supports Markdown
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