┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kpixmapmodifier.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-01-07 18:18:43 +0100
committerPeter Penz <[email protected]>2012-01-07 18:21:21 +0100
commitfc600ed2554fb767865b297039a94e5fc653f6b9 (patch)
tree04c96d099f0e5f797926e8784cf1174d959a4f59 /src/kitemviews/kpixmapmodifier.cpp
parent6f75059bb63860cd2f28a41e7ad48582a73395b9 (diff)
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
Diffstat (limited to 'src/kitemviews/kpixmapmodifier.cpp')
-rw-r--r--src/kitemviews/kpixmapmodifier.cpp4
1 files changed, 2 insertions, 2 deletions
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
}