┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-01-07 18:18:43 +0100
committerPeter Penz <[email protected]>2012-01-07 18:22:16 +0100
commit582a7c55c91fb3e94b9d9a5782cd56a25fa05e37 (patch)
tree1c1f5c70bd44aa213f0d35a1e3a797ec0b4ecc0b
parentadb78d8b3a8c3c9b628a175d9a1d08f130bc48fa (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
-rw-r--r--src/kitemviews/kpixmapmodifier.cpp4
-rw-r--r--src/main.cpp4
2 files changed, 2 insertions, 6 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
}
diff --git a/src/main.cpp b/src/main.cpp
index 42a3fe432..d55b5e71c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -82,10 +82,6 @@ KDE_EXPORT int kdemain(int argc, char **argv)
options.add("+[Url]", ki18nc("@info:shell", "Document to open"));
KCmdLineArgs::addCmdLineOptions(options);
- // Use the native graphicssystem per default, as the scaling of pixmaps is just way too
- // slow with the raster graphicssystem (see KPixmapModifier::scalePixmap()).
- QApplication::setGraphicsSystem("native");
-
DolphinApplication app;
KGlobal::locale()->insertCatalog("libkonq"); // needed for applications using libkonq