summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-07-29 13:31:31 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-07-29 13:31:31 +0200
commit653818fe2215c35d92f4f8cbc33b30190bbc21d8 (patch)
tree7e943f0f2442b144d9109bb7b63e8dbbe0b59b96
parentFix && improve fonts management. (diff)
downloadrekonq-653818fe2215c35d92f4f8cbc33b30190bbc21d8.tar.xz
Enable raster engine by default on X11
Benjamin Poulain's patch (Thanks!!)
-rw-r--r--src/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 6b1f1235..7f2b74cf 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -181,7 +181,10 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
kWarning() << "rekonq is already running!";
return 0;
}
-
+#if defined(Q_WS_X11)
+ // On X11, the raster engine gives better performance than native.
+ QApplication::setGraphicsSystem(QString::fromLatin1("raster"));
+#endif
Application app;
return app.exec();