┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-01-07 12:32:06 +0100
committerPeter Penz <[email protected]>2012-01-07 12:37:15 +0100
commit6f75059bb63860cd2f28a41e7ad48582a73395b9 (patch)
treef3cd815a989c4e5ffbce5921f0874bf7d5f75495
parent636292bfcb51255b69667ede0f15b77de20149d2 (diff)
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
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
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