summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-02-27 10:48:28 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-02-27 10:48:28 +0100
commit2ae2fced787fa9cde11556c25c057f8cbc95fbd4 (patch)
tree905bd14d3d3b727afc4eeb6dd7150e5be2b1000a
parentfix strings (diff)
downloadrekonq-2ae2fced787fa9cde11556c25c057f8cbc95fbd4.tar.xz
Reenabled the raster graphics system by default on X11.
Previous problems were not really regarding QtWebKit, but the graphic layer on. Hope they will no more cause troubles..
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d2d6482f..6db082b8 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -205,6 +205,11 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
return 0;
}
+#if defined(Q_WS_X11)
+ // On X11, the raster engine gives better performance than native.
+ QApplication::setGraphicsSystem(QL1S("raster"));
+#endif
+
Application app;
return app.exec();