From: Peter Penz Date: Sat, 7 Jan 2012 11:32:06 +0000 (+0100) Subject: Use the native graphicssystem per default X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/adb78d8b3a8c3c9b628a175d9a1d08f130bc48fa?ds=inline Use the native graphicssystem per default The scaling of pixmaps is just way too slow with the raster graphicssystem (see KPixmapModifier::scalePixmap()). It is of course still possible to run Dolphin with the raster graphicssystem, but this has to be done explicitly then. CCBUG: 290865 --- diff --git a/src/main.cpp b/src/main.cpp index d55b5e71c..42a3fe432 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -82,6 +82,10 @@ 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