aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qtsupport/screenshotcropper.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@digia.com>2014-01-24 10:34:39 +0100
committerAlessandro Portale <alessandro.portale@digia.com>2014-01-24 11:20:06 +0100
commit94266398bef54d7f9d110d5f2cc1522bb6601305 (patch)
tree5c941a07686e75f630d9694cf06ce750911f5cb2 /src/plugins/qtsupport/screenshotcropper.cpp
parent913fd1dc9dfdaccfe89f4bc41340c626d4bc1338 (diff)
Welcomescreen: Smooth scaling of screen shots
Change-Id: Iab20d2d0dcfe378d4848c38d4a63041859249a0d Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Diffstat (limited to 'src/plugins/qtsupport/screenshotcropper.cpp')
-rw-r--r--src/plugins/qtsupport/screenshotcropper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qtsupport/screenshotcropper.cpp b/src/plugins/qtsupport/screenshotcropper.cpp
index a77a1bb463f..159aff35499 100644
--- a/src/plugins/qtsupport/screenshotcropper.cpp
+++ b/src/plugins/qtsupport/screenshotcropper.cpp
@@ -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)