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/6f75059bb63860cd2f28a41e7ad48582a73395b9?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 631897337..2cc794a54 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