┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-01-07 12:32:06 +0100
committerPeter Penz <[email protected]>2012-01-07 12:34:40 +0100
commitadb78d8b3a8c3c9b628a175d9a1d08f130bc48fa (patch)
treec9d4fa47f938b6d60110a9caeacc91ef3be7cafe /src/main.cpp
parent21f49d84eb4b26d7b628ad17395e5445dc77f167 (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
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
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