From 582a7c55c91fb3e94b9d9a5782cd56a25fa05e37 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 7 Jan 2012 18:18:43 +0100 Subject: Revert patch using the native graphicssystem as default I'm trusting Christoph Feck's advice here. Additionally the smooth scaling has been activated to fix bug 290865. BUG: 290865 FIXED-IN: 4.8.0 --- src/kitemviews/kpixmapmodifier.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kitemviews/kpixmapmodifier.cpp') diff --git a/src/kitemviews/kpixmapmodifier.cpp b/src/kitemviews/kpixmapmodifier.cpp index f6838c032..91f22da3c 100644 --- a/src/kitemviews/kpixmapmodifier.cpp +++ b/src/kitemviews/kpixmapmodifier.cpp @@ -362,10 +362,10 @@ void KPixmapModifier::scale(QPixmap& pixmap, const QSize& scaledSize) 0, 0, 0, 0, 0, 0, scaledPixmap.width(), scaledPixmap.height()); pixmap = scaledPixmap; } else { - pixmap = pixmap.scaled(scaledSize, Qt::KeepAspectRatio, Qt::FastTransformation); + pixmap = pixmap.scaled(scaledSize, Qt::KeepAspectRatio, Qt::SmoothTransformation); } #else - pixmap = pixmap.scaled(scaledSize, Qt::KeepAspectRatio, Qt::FastTransformation); + pixmap = pixmap.scaled(scaledSize, Qt::KeepAspectRatio, Qt::SmoothTransformation); #endif } -- cgit v1.3