]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/main.cpp
Use the native graphicssystem per default
[dolphin.git] / src / main.cpp
index d55b5e71c18486ccbffb9efb6d7c2950cdbbb326..42a3fe4320a69fd15f3ac90536d9084b56a647ed 100644 (file)
@@ -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