Fix #5980 (Reflection in Cover Browser not reflecting cropped bottom edge)

This commit is contained in:
Kovid Goyal 2010-06-26 18:53:54 -06:00
parent 3f14bedb00
commit 3544fe468c

View File

@ -579,7 +579,7 @@ void PictureFlowPrivate::resetSlides()
static QImage prepareSurface(QImage img, int w, int h)
{
Qt::TransformationMode mode = Qt::SmoothTransformation;
img = img.scaled(w, h, Qt::KeepAspectRatioByExpanding, mode);
img = img.scaled(w, h, Qt::IgnoreAspectRatio, mode);
// slightly larger, to accommodate for the reflection
int hs = int(h * REFLECTION_FACTOR);