From 2ae2fced787fa9cde11556c25c057f8cbc95fbd4 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 27 Feb 2011 10:48:28 +0100 Subject: 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.. --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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(); -- cgit v1.2.1